home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / inter54c.zip / INTERRUP.J < prev    next >
Text File  |  1997-06-29  |  354KB  |  9,620 lines

  1. Interrupt List, part 10 of 16
  2. Copyright (c) 1989,1990,1991,1992,1993,1994,1995,1996,1997 Ralf Brown
  3. --------N-2A00-------------------------------
  4. INT 2A - NETWORK - INSTALLATION CHECK
  5.     AH = 00h
  6. Return: AH <> 00h if installed
  7.     CF set if NetWare v2.15 NetBIOS emulator installed
  8. Note:    supported by PC LAN Program, LAN Manager, LANtastic, NetWare, 10NET,
  9.       etc.
  10. SeeAlso: INT 5C"NetBIOS"
  11. --------N-2A0000-----------------------------
  12. INT 2A - AT&T Starlan Extended NetBIOS (var length names) - INSTALLATION CHECK
  13.     AX = 0000h
  14. Return: AH = DDh
  15. SeeAlso: INT 5B"Extended NetBIOS"
  16. --------N-2A01-------------------------------
  17. INT 2A - NETWORK (Microsoft,LANtastic) - EXECUTE NETBIOS REQUEST,NO ERROR RETRY
  18.     AH = 01h
  19.     ES:BX -> NCB (see #2881 at INT 5C"NetBIOS")
  20. Return: AL = NetBIOS error code
  21.     AH = status
  22.         00h no error
  23.         01h error occurred
  24. SeeAlso: AH=04h,AX=0500h,INT 5B"Extended NetBIOS",INT 5C"NetBIOS"
  25. --------N-2A02-------------------------------
  26. INT 2A - NETWORK (Microsoft) - SET NET PRINTER MODE
  27.     AH = 02h
  28.     ???
  29. Return: ???
  30. --------N-2A0300-----------------------------
  31. INT 2A - NETWORK - CHECK DIRECT I/O
  32.     AX = 0300h
  33.     DS:SI -> ASCIZ device name (may be full path or only drive specifier--
  34.           must include the colon)
  35. Return: CF clear if direct physical addressing (INT 13,INT 25) permissible
  36.     CF set if access via files only
  37. Notes:    do not use direct disk accesses if this function returns CF set or the
  38.       device is redirected (INT 21/AX=5F02h)
  39.     use AH=00h to determine whether the network is installed; if not,
  40.       direct physical access is allowed
  41.     may take some time to execute, so programs which need to check
  42.       frequently should save the result of the first call
  43.     this function is called by the DOS kernel on INT 25 and INT 26
  44.     supported by PC LAN Program, LAN Manage, LANtastic, NetWare, 10NET,
  45.       etc.
  46. SeeAlso: INT 13/AH=02h,INT 13/AH=03h,INT 25,INT 26,INT 21/AX=5F02h
  47. --------N-2A04-------------------------------
  48. INT 2A - NETWORK - EXECUTE NetBIOS REQUEST
  49.     AH = 04h
  50.     AL = error retry
  51.         00h automatically retry request on errors 09h, 12h, and 21h
  52.           (see #2880 at INT 5C"NetBIOS")
  53.         01h no retry
  54.         02h ???
  55.     ES:BX -> Network Control Block (see #2881 at INT 5C"NetBIOS")
  56. Return: AX = 0000h if successful
  57.     AH = 01h on error
  58.         AL = error code
  59. Notes:    invokes either INT 5B or INT 5C as appropriate
  60.     supported by PC LAN Program, LANtastic, LAN Manager, NetWare, 10NET,
  61.       etc.
  62.     NetWare 2.15 NetBIOS emulator returns CF clear if successful, CF set
  63.       on error
  64.     PC LAN Program defines any non-zero return value in AH as an error
  65.       indicator for subfunction 00h, and any non-zero return value in AX
  66.       as an error indicator for subfunction 01h
  67. SeeAlso: AH=00h,AH=01h,AX=0500h,INT 5B"Extended NetBIOS",INT 5C"NetBIOS"
  68. --------N-2A0500-----------------------------
  69. INT 2A - NETWORK - GET NETWORK RESOURCE AVAILABILITY
  70.     AX = 0500h
  71. Return: AX reserved
  72.     BX = number of network names available
  73.     CX = number of network control blocks available
  74.     DX = number of network sessions available
  75. Notes:    supported by PC LAN Program, LAN Manager, LANtastic, NetWare, 10NET,
  76.       etc.
  77.     the application should call this function before using any network
  78.       resources, and maintain its own count to avoid exceeding the
  79.       network's resource limits
  80. SeeAlso: AH=00h,AH=01h,AH=04h,INT 5C"NetBIOS"
  81. --------N-2A06-------------------------------
  82. INT 2A - NETBIOS, LANtastic - NETWORK PRINT-STREAM CONTROL
  83.     AH = 06h
  84.     AL = function
  85.         01h set concatenation mode
  86.         all printer output put in one job until return to DOS prompt
  87.         02h set truncation mode (default)
  88.         printer open/close or BIOS/DOS output switch starts new job
  89.         03h flush printer output and start new print job
  90. Return: CF set on error
  91.         AX = error code
  92.     CF clear if successful
  93. Notes:    subfunction 03h is equivalent to Ctrl/Alt/keypad-*
  94.     supported by PC LAN Program, LANtastic, NetWare, 10NET, etc.
  95.     LANtastic v4.x no longer supports this call
  96.     this function sets the printer mode for all redirected printers
  97. SeeAlso: INT 21/AX=5D08h,INT 21/AX=5D09h,INT 2F/AX=1125h
  98. --------N-2A07-------------------------------
  99. INT 2A U - PC Network v1.00 - RECEIVER.COM - ???
  100.     AH = 07h
  101.     ???
  102. Return: ???
  103. Program: PC Network is an early networking package which was renamed the
  104.       IBM PC Local Area Network Program (PC LAN Program) as of v1.10
  105. SeeAlso: AH=86h
  106. --------N-2A2001-----------------------------
  107. INT 2A - MS Networks or NETBIOS - ???
  108.     AX = 2001h
  109.     ???
  110. Return: ???
  111. Note:    intercepted by DESQview 2.x
  112. --------N-2A2002-----------------------------
  113. INT 2A - NETWORK - ???
  114.     AX = 2002h
  115.     ???
  116. Return: ???
  117. Note:    called by MS-DOS 3.30-6.00 APPEND
  118. --------N-2A2003-----------------------------
  119. INT 2A - NETWORK - ???
  120.     AX = 2003h
  121.     ???
  122. Return: ???
  123. Note:    called by MS-DOS 3.30-6.00 APPEND
  124. --------N-2A4147DX0000-----------------------
  125. INT 2A U - NetSoft DOS-NET v1.20+ - INSTALLATION CHECK
  126.     AX = 4147h ('AG')
  127.     DX = 0000h
  128. Return: DX = 4147h if installed
  129.         DS:SI -> configuration data (see #2209)
  130. Program: DOS-NET is a shareware networking package by Albert Graham
  131. Note:    this call is supported by CLIENT.COM, SERVER.COM, ROUTER.COM, and
  132.       NETDOS.COM
  133. SeeAlso: INT 65/DX=4147h,INT 65/DX=4741h
  134.  
  135. Format of DOS-NET v1.20 configuration data area:
  136. Offset    Size    Description    (Table 2209)
  137.  00h    BYTE    ???
  138.  01h    BYTE    interrupt number used by DOS-NET APIs
  139.  02h    WORD    function number to place in AX for above interrupt
  140.  04h    BYTE    minor version as two BCD digits (e.g. 20h for v1.20)
  141.  05h    BYTE    major version number (01h for v1.20)
  142.  06h  2 BYTEs    ???
  143.  08h    WORD    ??? (used by ARCNET.COM)
  144.         bit 15: ??? (set by MACTEST.COM)
  145.  0Ah    WORD    ??? (used by NDIS.COM and ODI.COM)
  146.  0Ch 22 BYTEs    ???
  147.  24h    DWORD    -> ??? function (set by PROTECT.COM)
  148.  28h 12 BYTEs    ???
  149.  34h    DWORD    -> ??? function (set by FASTVIEW.COM)
  150.  38h    DWORD    -> ??? function (set by FASTVIEW.COM)
  151.  58h    DWORD    -> ??? (offsets 04h and 1Ah from value are used by NETFILES)
  152.     ???
  153.  7Ch    WORD    ???
  154.  7Eh    WORD    ??? (may be high half of a DWORD at 7Ch)
  155.     ???
  156.  A8h    DWORD    -> ??? (used by SM.COM)
  157.     ???
  158. 114h    WORD    ???
  159. 116h    WORD    ??? (may be high half of a DWORD at 114h)
  160.     ???
  161. 1BDh    BYTE    ??? flags
  162.         bit 0: ???
  163.         bit 6: ???
  164.     ???
  165. 1E1h    BYTE    ???
  166.     ???
  167. 208h    WORD    ??? (used by SM.COM, MACTEST)
  168. 282h    WORD    ???
  169. 284h  2 BYTEs    ???
  170. 286h    WORD    ??? flags
  171.         bit 0: ???
  172.     ???
  173. 31Eh    WORD    ???
  174. 320h    WORD    ??? (used by NDIS.COM and ODI.COM)
  175. 322h  8 BYTEs    ???
  176. 32Ah    WORD    ??? (used by NDIS.COM and ODI.COM)
  177.     ???
  178. 33Eh  4 BYTEs    ??? (used by ODI.COM)
  179. 342h  N BYTEs    ??? (used by NDIS.COM)
  180.     ???
  181. 3CFh    BYTE    ??? flags
  182.         bit 2: ???
  183. 3D2h    BYTE    installed-component flags
  184.         bit 0: PROTECT installed
  185.         bit 1: NETCACHE installed
  186.         bit 3: SM.COM installed
  187.         bit 7: NETDEBUG installed
  188. 3D3h    BYTE    installed-component flags
  189.         bit 0: NETFILES installed
  190.         bit 6: FASTVIEW installed
  191.     ???
  192. 3FFh    BYTE    ??? (used by NDIS.COM)
  193. 400h    BYTE    ???
  194. 401h    BYTE    ??? (used by SM.COM)
  195. 402h    BYTE    ??? (used by SM.COM)
  196.     ???
  197. 448h    BYTE    ???
  198. 449h    BYTE    ??? (used by MACTEST)
  199. 44Ah    BYTE    ??? (used by PROTECT)
  200. 44Bh    BYTE    ???
  201. 44Ch    BYTE    ???
  202. 44Dh    BYTE    ??? (used by SM.COM)
  203. 44Eh    BYTE    ??? (used by SM.COM, MACTEST)
  204.     ???
  205. --------N-2A7802-----------------------------
  206. INT 2A - NETWORK - PC LAN PROG v1.31+ - GET LOGGED ON USER NAME
  207.     AX = 7802h
  208.     ES:DI -> 8-byte buffer to be filled
  209. Return: AL = 00h if no user logged on to Extended Services
  210.     AL <> 00h if user logged on to Extended Services
  211.         buffer at ES:DI filled with name, padded to 8 chars with blanks.
  212. --------D-2A80-------------------------------
  213. INT 2A CU - NETWORK - BEGIN DOS CRITICAL SECTION
  214.     AH = 80h
  215.     AL = critical section number (00h-0Fh) (see #2210)
  216. Notes:    normally hooked to avoid interrupting a critical section, rather than
  217.       called
  218.     the handler should ensure that none of the critical sections are
  219.       reentered, usually by suspending a task which attempts to reenter
  220.       an active critical section
  221.     the DOS kernel does not invoke critical sections 01h and 02h unless it
  222.       is patched.  DOS 3.1+ contains a zero-terminated list of words
  223.       beginning at offset -11 from the Swappable Data Area
  224.       (see #1339 at INT 21/AX=5D06h); each word contains the offset within
  225.       the DOS data segment of a byte which must be changed from C3h (RET)
  226.       to 50h (PUSH AX) under DOS 3.x or from 00h to a nonzero value under
  227.       DOS 4.0+ to enable use of critical sections.    For DOS 4.0+, all
  228.       words in this list point at the byte at offset 0D0Ch.
  229.     MS Windows patches the DOS kernel's calls to INT 2A/AH=80h-81h into
  230.       far calls to its own handler, and does not reflect the calls back
  231.       to INT 2A unless SYSTEM.INI contains ReflectDOSInt2A=1 or
  232.       ModifyDOSInt2A=0 in the [386Enh] section
  233.     Novell NETX does not issue INT 2A/AH=80h and INT 2A/AH=81h calls when
  234.       it intercepts INT 21 calls and processes them itself
  235. SeeAlso: AH=81h,AH=82h,AX=8700h,INT 21/AX=5D06h,INT 21/AX=5D0Bh
  236.  
  237. (Table 2210)
  238. Values for DOS critical section number:
  239.  01h    DOS kernel, SHARE.EXE, DOSMGR
  240.     apparently for maintaining the integrity of DOS/SHARE/NET
  241.       data structures
  242.  02h    DOS kernel, DOSMGR
  243.     ensures that no multitasking occurs while DOS is calling an
  244.       installable device driver
  245.  05h    network redirector
  246.  06h    DOS 4.x only IFSFUNC
  247.  08h    ASSIGN.COM
  248.  0Ah    MSCDEX, CORELCDX
  249.  0Fh    IBM PC LAN server (while intercepting INT 10/AH=06h,07h,0Eh)
  250. --------D-2A81-------------------------------
  251. INT 2A CU - NETWORK - END DOS CRITICAL SECTION
  252.     AH = 81h
  253.     AL = critical section number (00h-0Fh) (see #2210)
  254. Notes:    normally hooked rather than called
  255.     the handler should reawaken any tasks which were suspended due to an
  256.       attempt to enter the specified critical section
  257.     MS Windows patches the DOS kernel's calls to INT 2A/AH=80h-81h into
  258.       far calls to its own handler, and does not reflect the calls back
  259.       to INT 2A unless SYSTEM.INI contains ReflectDOSInt2A=1 or
  260.       ModifyDOSInt2A=0 in the [386Enh] section
  261. SeeAlso: AH=80h,AH=82h,AX=8700h
  262. --------D-2A82-------------------------------
  263. INT 2A CU - NETWORK - END DOS CRITICAL SECTIONS 0 THROUGH 7
  264.     AH = 82h
  265. Notes:    called by the INT 21h function dispatcher for function 0 and functions
  266.       greater than 0Ch except 59h, and on process termination
  267.     the handler should reawaken any tasks which were suspended due to an
  268.       attempt to enter one of the critical sections 0 through 7
  269. SeeAlso: AH=81h
  270. --------N-2A84-------------------------------
  271. INT 2A CU - NETWORK - KEYBOARD BUSY LOOP
  272.     AH = 84h
  273. Note:    similar to DOS's INT 28h, called from inside the DOS keyboard input
  274.       loop (i.e. INT 21/AH=07h or INT 21/AH=08h) to allow the network
  275.       software to process requests
  276. SeeAlso: INT 28
  277. --------N-2A86-------------------------------
  278. INT 2A U - PC Network v1.00 - RECEIVER.COM - ???
  279.     AH = 86h
  280.     ???
  281. Return: ???
  282. SeeAlso: AH=07h,AH=C4h
  283. --------P-2A8700-----------------------------
  284. INT 2A CU - PRINT - BEGIN BACKGROUND PRINTING
  285.     AX = 8700h
  286.     CF clear
  287. Return: CF clear if OK to print in background now
  288.     CF set if background printing not allowed at this time
  289. Desc:    used to inform interested programs that PRINT is about to start its
  290.       background processing, and allow those programs to postpone the
  291.       processing if necessary
  292. Notes:    when PRINT gains control and wants to begin printing, it calls this
  293.       function.  If CF is clear on return, PRINT begins its background
  294.       processing, and calls AX=8701h when it is done.  If CF is set on
  295.       return, PRINT will relinquish control immediately, and will not
  296.       call AX=8701h
  297.     PCVENUS (an early network shell by IBM and CMU) hooks this call to
  298.       prevent background printing while its own code is active
  299. SeeAlso: AH=80h,AH=81h,AX=8701h
  300. --------P-2A8701-----------------------------
  301. INT 2A CU - PRINT - END BACKGROUND PRINTING
  302.     AX = 8701h
  303. Desc:    used to inform interested programs that PRINT has completed its
  304.       background processing
  305. Note:    called by PRINT after it has performed some background printing; not
  306.       called if AX=8700h returned with CF set.
  307. SeeAlso: AX=8700h
  308. --------N-2A89-------------------------------
  309. INT 2A U - PC Network v1.00 - RECEIVER.COM - ???
  310.     AH = 89h
  311.     AL = ???  (ASSIGN uses 08h)
  312.     ???
  313. Return: ???
  314. --------I-2A90-------------------------------
  315. INT 2A U - IBM PC 3270 EMULATION PROGRAM - ???
  316.     AH = 90h
  317.     ???
  318. Return: ???
  319. Note:    the LANtastic redirector and SERVER.EXE use this function with AL=01h,
  320.       03h-07h,0Ch-11h
  321. --------N-2AC2-------------------------------
  322. INT 2A U - Network - ???
  323.     AH = C2h
  324.     AL = subfunction
  325.         07h ???
  326.         08h ???
  327.     BX = 0001h
  328.     ???
  329. Return: ???
  330. Note:    this function is called by the DOS 3.30-6.00 APPEND
  331. --------N-2AC4-------------------------------
  332. INT 2A U - PC Network v1.00 - RECEIVER.COM - ???
  333.     AH = C4h
  334.     AL = subfunction
  335.         07h ???
  336.         08h ???
  337.     BX = ???
  338.     ???
  339. Return: ???
  340. SeeAlso: AH=86h
  341. --------N-2AD800-----------------------------
  342. INT 2A U - Novell NetWare Lite - SERVER - SET ???
  343.     AX = D800h
  344. Return: nothing
  345. Desc:    sets ??? flag, and sets ??? to initial value
  346. Note:    called by CLIENT
  347. SeeAlso: AX=D801h,AX=D850h
  348. --------N-2AD801-----------------------------
  349. INT 2A U - Novell NetWare Lite - SERVER - RESET ???
  350.     AX = D801h
  351. Return: nothing
  352. Desc:    clears the ??? flag set by AX=D800h
  353. Note:    called by CLIENT
  354. SeeAlso: AX=D800h,AX=D850h
  355. --------N-2AD850-----------------------------
  356. INT 2A U - Novell NetWare Lite - CLIENT - INCREMENT ???
  357.     AX = D850h
  358. Return: nothing
  359. Desc:    increments an internal byte-sized counter
  360. Note:    this function is intercepted by DV/X 1.10 PEERSERV.DVR and the
  361.       Advanced NetWare 4.0 DOS Requester
  362. SeeAlso: AX=D851h
  363. --------N-2AD851-----------------------------
  364. INT 2A U - Novell NetWare Lite - CLIENT - RESET ???
  365.     AX = D851h
  366. Return: nothing
  367. Desc:    resets an internal byte-sized counter to zero
  368. Note:    this function is intercepted by DV/X 1.10 PEERSERV.DVR and the
  369.       Advanced NetWare 4.0 DOS Requester
  370. SeeAlso: AX=D850h
  371. --------N-2AD852-----------------------------
  372. INT 2A U - Novell NetWare - DOS Requester v1.03 - ???
  373.     AX = D852h
  374. Return: ???
  375. Note:    calls the NetWare Lite SERVER installation check, and sets ??? pointer
  376. SeeAlso: AX=D853h,INT 2F/AX=D880h
  377. --------N-2AD853-----------------------------
  378. INT 2A U - Novell NetWare - DOS Requester v1.03 - ???
  379.     AX = D853h
  380. Return: ???
  381. Note:    clears the pointer set by AX=D852h
  382. SeeAlso: AX=D852h
  383. --------N-2AE0-------------------------------
  384. INT 2A U - PC Network 1.00 - ???
  385.     AH = E0h
  386.     AL = subfunction??? (01h,02h, maybe others)
  387.     ???
  388. Return: ???
  389. Note:    called by PCNet 1.00 NET.COM, a shell program from which others are run
  390. --------N-2AFF90-----------------------------
  391. INT 2A - PC/TCP PREDIR.EXE - ???
  392.     AX = FF90h
  393. Return: AX = ???
  394. Note:    PREDIR.EXE is the network printer redirector included as part of the
  395.       PC/TCP system by FTP Software, Inc.
  396. --------N-2AFF91-----------------------------
  397. INT 2A - PC/TCP PREDIR.EXE - ???
  398.     AX = FF91h
  399.     BX = ???
  400. Return: AX = status???
  401. --------N-2AFF92-----------------------------
  402. INT 2A - PC/TCP PREDIR.EXE - INSTALLATION CHECK
  403.     AX = FF92h
  404. Return: AX = 0000h if installed
  405.        BX = redirected printer port (FFFFh if no printers redirected)
  406.        CX = version (CH = major, CL = minor)
  407. Note:    PREDIR.EXE is the network printer redirector included as part of the
  408.       PC/TCP system by FTP Software, Inc.
  409. --------N-2AFF93-----------------------------
  410. INT 2A - PC/TCP PREDIR.EXE - ???
  411.     AX = FF93h
  412. Return: AX = ???
  413. --------N-2AFF94-----------------------------
  414. INT 2A - PC/TCP PREDIR.EXE - ???
  415.     AX = FF94h
  416.     BX = ???
  417.     CX = ???
  418.     DX = ???
  419. Return: AX = ???
  420. Note:    PREDIR.EXE is the network printer redirector included as part of the
  421.       PC/TCP system by FTP Software, Inc.
  422. --------N-2AFF95-----------------------------
  423. INT 2A - PC/TCP PREDIR.EXE - GET CONFIGURATION STRINGS
  424.     AX = FF95h
  425.     CX = what to get
  426.         0000h ??? (returned pointer to "C:\COMMAND.COM")
  427.         0001h spooling program
  428.         0002h ???
  429.         0003h spool file name
  430.         0004h swap file name
  431. Return: AX = status
  432.         0000h successful
  433.     BX:DX -> ASCIZ configuration string
  434. --------N-2AFF96-----------------------------
  435. INT 2A - PC/TCP PREDIR.EXE - SET PRINT JOB TERMINATION CONFIGURATION
  436.     AX = FF96h
  437.     CX = what to set
  438.         0000h ???
  439.         0001h print-on-hotkey state
  440.         0002h print-on-exit state
  441.         0003h print job timeout in clock ticks
  442.         0004h print-on-EOF state
  443.     BX = new value (0000h disabled, 0001h enabled except for timeout)
  444. Return: AX = ???
  445. SeeAlso: AX=FF97h
  446. Note:    PREDIR.EXE is the network printer redirector included as part of the
  447.       PC/TCP system by FTP Software, Inc.
  448. --------N-2AFF97-----------------------------
  449. INT 2A - PC/TCP PREDIR.EXE - GET PRINT JOB TERMINATION CONFIGURATION
  450.     AX = FF97h
  451.     CX = what to get
  452.         0000h ???
  453.         0001h print-on-hotkey state
  454.         0002h print-on-exit state
  455.         0003h print job timeout in clock ticks
  456.         0004h print-on-EOF state
  457. Return: AX = status
  458.         0000h successful
  459.     BX = old value (0000h disabled, 0001 enabled except for timeout)
  460. SeeAlso: AX=FF96h
  461. --------D-2B---------------------------------
  462. INT 2B - DOS 2+ - RESERVED
  463. Note:    this vector is not used in MS-DOS versions <= 6.22, and points at an
  464.       IRET instruction
  465. --------D-2B---------------------------------
  466. INT 2B - IBM ROM-DOS v4.0 - ???
  467.     AH = function
  468.         00h ??? (modifies data in IBMBIO.COM)
  469.         01h internal operations
  470.         02h ???
  471.         AL = index (00h-0Ch)
  472.         Return: AX = ??? or (CMOS 2Dh and CMOS 2Eh)
  473.         03h get ??? data
  474.         Return: AX = (CMOS 2Dh and CMOS 2Eh)
  475.             BX = FFFFh
  476.         other does nothing
  477. Note:    function 03h is called by ROMSHELL.COM; if BX != 0, then the ES:DI from
  478.       INT 2F/AX=1982h points at valid data
  479. SeeAlso: INT 2F/AX=1982h
  480. --------D-2C---------------------------------
  481. INT 2C - DOS 2+ - RESERVED
  482. Note:    this vector is not used in DOS versions <= 6.00, and points at an IRET
  483. --------O-2C---------------------------------
  484. INT 2C - STARLITE architecture - KERNEL API
  485. Note:    STARLITE is an architecture by General Software for a series of MS-DOS
  486.       compatible operating systems (OEM DOS, NETWORK DOS, and SMP DOS) to
  487.       be released in 1991.    The interrupt number is subject to change
  488.       before the actual release.
  489. --------m-2C---------------------------------
  490. INT 2C R - Cloaking - CALL PROTECTED-MODE PASSALONG CHAIN
  491. Notes:    when this interrupt is invoked in V86 mode, RM386 will invoke the first
  492.       in a chain of protected-mode handlers, and will only pass execution
  493.       to the V86-mode INT 2C handler if none of the handlers in the
  494.       passalong chain handle the call instead.  This is the method by which
  495.       the real-mode stub of a cloaked application communicates with the
  496.       protected-mode portion.
  497.     the cloaking host calls the passalong chain with EAX=58494E33h ('WIN3')
  498.       when MS Windows starts up and with EAX=334E4958h ('3NIW') when
  499.       Windows shuts down; between these two broadcasts, the additional
  500.       Windows-only Cloaking services are available
  501.     this function was first introduced with RM386 (RAM-MAN/386) v6.00, the
  502.       memory manager included in Helix Software's Netroom
  503. SeeAlso: INT 2C/AX=0009h,INT 2F/AX=4310h"Cloaking"
  504. --------m-2C0000-----------------------------
  505. INT 2C P - Cloaking - ALLOCATE GDT SELECTOR
  506.     AX = 0000h
  507.     EBX = base address
  508.     CL = access mode byte
  509.     CH = extended access mode byte (omit limit field)
  510.     EDX = segment limit
  511. Return: CF clear if successful
  512.         AX = selector
  513.     CF set on error
  514.         AX = error code (see #2211)
  515. Notes:    this INT 2C interface is used by Netroom's DPMI.EXE v3.00
  516.     to access extended memory, set the base address to the desired
  517.       physical address plus 400000h (4M)
  518.     this function was first introduced with RM386 (RAM-MAN/386) v6.00, the
  519.       memory manager included in Helix Software's Netroom
  520. SeeAlso: AX=0001h,AX=0002h,AX=0003h,AX=0004h,AX=0005h,INT 31/AH=57h,#0420
  521.  
  522. (Table 2211)
  523. Values for Cloaking error code:
  524.  0001h    no more selectors
  525.  0002h    not a GDT ring 0 selector
  526.  0003h    invalid selector (out of range, not user selector)
  527.  0004h    selector not allocated
  528. --------m-2C0001-----------------------------
  529. INT 2C P - Cloaking - FREE GDT SELECTOR
  530.     AX = 0001h
  531.     SI = selector
  532. Return: CF clear if successful
  533.     CF set on error
  534.         AX = error code (see #2211)
  535. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  536. SeeAlso: AX=0000h,INT 2F/AX=4310h"Cloaking"
  537. --------m-2C0002-----------------------------
  538. INT 2C P - Cloaking - SET SEGMENT BASE ADDRESS
  539.     AX = 0002h
  540.     SI = selector
  541.     EBX = new physical base addres
  542. Return: CF clear if successful
  543.     CF set on error
  544.         AX = error code (see #2211)
  545. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  546. SeeAlso: AX=0000h,AX=0003h,AX=0004h,INT 31/AX=0007h,#0420
  547. --------m-2C0003-----------------------------
  548. INT 2C P - Cloaking - SET SEGMENT LIMIT
  549.     AX = 0003h
  550.     SI = selector
  551.     EBX = new limit
  552. Return: CF clear if successful
  553.     CF set on error
  554.         AX = error code (see #2211)
  555. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  556. SeeAlso: AX=0000h,AX=0002h,AX=0004h,INT 31/AX=0008h
  557. --------m-2C0004-----------------------------
  558. INT 2C P - Cloaking - SET SEGMENT ACCESS MODE
  559.     AX = 0004h
  560.     SI = selector
  561.     CL = new access mode byte (see #0421)
  562. Return: CF clear if successful
  563.     CF set on error
  564.         AX = error code (see #2211)
  565. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  566. SeeAlso: AX=0000h,AX=0002h,AX=0003h,AX=0005h,INT 31/AX=0009h
  567. --------m-2C0005-----------------------------
  568. INT 2C P - Cloaking - SET SEGMENT EXTENDED ACCESS MODE
  569.     AX = 0005h
  570.     SI = selector
  571.     CL = new extended access mode byte (limit field ignored) (see #2212)
  572. Return: CF clear if successful
  573.     CF set on error
  574.         AX = error code (see #2211)
  575. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  576. SeeAlso: AX=0000h,AX=0002h,AX=0003h,AX=0004h,INT 31/AX=0009h
  577.  
  578. Bitfields for extended access mode byte:
  579. Bit(s)    Description    (Table 2212)
  580.  7    4K granularity instead of byte granularity
  581.  6    32-bit code segment
  582.  5    reserved (0)
  583.  4    segment available to system
  584. SeeAlso: #0422
  585. --------m-2C0006-----------------------------
  586. INT 2C P - Cloaking - GET PROTECTED-MODE INTERRUPT VECTOR
  587.     AX = 0006h
  588.     CL = vector (00h-7Fh)
  589. Return: CF clear
  590.     DX:EBX -> current interrupt handler
  591. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  592. SeeAlso: AX=0007h,INT 31/AX=0204h
  593. --------m-2C0007-----------------------------
  594. INT 2C P - Cloaking - SET PROTECTED-MODE INTERRUPT VECTOR
  595.     AX = 0007h
  596.     CL = vector (00h-7Fh)
  597.     DX:EBX -> interrupt handler
  598. Return: CF clear
  599. Notes:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  600.     the IDT entry's type remains unchanged
  601. SeeAlso: AX=0006h,INT 31/AX=0205h
  602. --------m-2C0008-----------------------------
  603. INT 2C P - Cloaking - GET PASSALONG ADDRESS
  604.     AX = 0008h
  605. Return: CF clear
  606.     DX:EBX = current passalong address
  607. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  608. SeeAlso: AX=0009h,AX=002Ch,INT 2F/AX=4310h"Cloaking"
  609. --------m-2C0009-----------------------------
  610. INT 2C P - Cloaking - SET PASSALONG ADDRESS
  611.     AX = 0009h
  612.     DX:EBX = new value for passalong address (see #2213)
  613. Return: CF clear
  614. Notes:    when an INT 2C instruction is executed in V86 mode, the Cloaking host
  615.       calls the passalong address.    The handler should check whether the
  616.       upcall is of interest to it, and if not it should jump to the old
  617.       passalong address (retrieved with AX=0008h before the handler was
  618.       installed).  The final handler should return with CF clear to cause
  619.       the interrupt to be reflected back to V86 mode if none of the
  620.       passalong handlers is triggered
  621.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  622. SeeAlso: AX=0008h,AX=002Dh,INT 2C"PASSALONG CHAIN"
  623.  
  624. (Table 2213)
  625. Values Cloaking passalong address is called with:
  626.     EAX = CS:IP of byte following INT 2C instruction invoking passalong
  627.     SS:EBX -> caller registers (see #2214)
  628.     CF clear
  629.     others undefined
  630. Return: CF clear: pass along to V86-mode INT 2C handler
  631.     CF set: return immediately to V86 mode
  632.  
  633. Format of Cloaking caller registers:
  634. Offset    Size    Description    (Table 2214)
  635.  00h    DWORD    EDI
  636.  04h    DWORD    ESI
  637.  08h    DWORD    EBP
  638.  0Ch    DWORD    reserved (ESP from PUSHAD instruction)
  639.  10h    DWORD    EBX
  640.  14h    DWORD    EDX
  641.  18h    DWORD    ECX
  642.  1Ch    DWORD    EAX
  643.  20h    DWORD    error code
  644.  24h    DWORD    EIP
  645.  28h    WORD    CS
  646.  2Ah    WORD    padding
  647.  2Ch    DWORD    EFLAGS
  648.  30h    DWORD    ESP
  649.  34h    WORD    SS
  650.  36h    WORD    padding
  651. --remainder not available if protected-mode ring3 trap---
  652.  38h    WORD    ES
  653.  3Ah    WORD    padding
  654.  3Ch    WORD    DS
  655.  3Eh    WORD    padding
  656.  40h    WORD    FS
  657.  42h    WORD    padding
  658.  44h    WORD    GS
  659.  46h    WORD    padding
  660. --------m-2C000A-----------------------------
  661. INT 2C P - Cloaking - GET BASE ADDRESS OF GDT SELECTOR
  662.     AX = 000Ah
  663.     SI = selector
  664. Return: CF clear if successful
  665.         EBX = segment base address
  666.     CF set on error
  667.         AX = error code (see #2211)
  668. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00, the
  669.       memory manager included in Helix Software's Netroom
  670. SeeAlso: AX=0000h,AX=0002h,AX=000Bh
  671. --------m-2C000B-----------------------------
  672. INT 2C P - Cloaking - GET SELECTOR LIMIT
  673.     AX = 000Bh
  674.     SI = selector
  675. Return: CF clear if successful
  676.         EBX = segment base address
  677.     CF set on error
  678.         AX = error code (see #2211)
  679. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  680. SeeAlso: AX=000Ah,INT 2F/AX=4310h"Cloaking"
  681. --------m-2C---------------------------------
  682. INT 2C P - RM386 v6.00 - CLOAKING - RESERVED FOR CLOAKED BIOS USE UNDER WINDOWS
  683.     AX = function (000Ch-001Fh)
  684. --------m-2C000F-----------------------------
  685. INT 2C P - Cloaking v1.01 - "Simulate_Shell_Event"
  686.     AX = 000Fh
  687.     ECX = event code (see #2215)
  688.     DX = subfunction for event
  689.     EDX high word = boost value (see #2216)
  690.     SI:EDI -> completion procedure
  691. Return: CF clear if successful (event scheduled)
  692.     CF set on error
  693. Note:    this function is only available while MS Windows is running
  694. SeeAlso: AX=0011h,AX=0012h,INT 2F/AX=1605h,INT 2F/AX=4310h"Cloaking"
  695.  
  696. (Table 2215)
  697. Values for Cloaking shell event code:
  698.  0414h    Hot key event
  699.     subevent 0000h: Alt-Space
  700.     subevent 0001h: Alt-Enter
  701.     subevent 0002h: Dir-VM
  702.  0415h    Switch context
  703.     subevent 0000h for DOS VM context, nonzero for System VM context
  704.  0416h    Clipboard event
  705.  0417h    Termination event
  706.     subevent 0000h for normal termination, nonzero for error
  707.  0418h    Display message
  708.     subevent 0000h for normal message, nonzero for system model ASAP
  709.  0419h    Crash
  710.  041Ah    Paste complete
  711.     subevent 0000h: normal
  712.     subevent 0001h: cancelled by user
  713.     subevent 0002h: cancelled
  714.  041Bh    Contention event
  715.  041Ch    Screen switch
  716.     subevent 0000h: forward
  717.     subevent 0001h: back
  718.  041Dh    Filesystem change
  719.  041Eh    Check Focus
  720.  041Fh    Panic
  721.  
  722. Bitfields for boost value:
  723. Bit(s)    Description    (Table 2216)
  724.  0    boost system VM until focus changes
  725.  1    boost system VM on Switcher screen
  726.  2    boost system VM until response
  727.  3    boost system VM during clipboard activity
  728.  4    boost system VM during print screen
  729.  5    boost system VM during update
  730. --------m-2C0011-----------------------------
  731. INT 2C P - Cloaking v1.01 - "Switch_VMs_and_Call_back"
  732.     AX = 0011h
  733.     EBX = handle of VM to be made active
  734.     SI:EDI -> 32-bit FAR completion procedure
  735. Return: CF clear if successful (scheduled)
  736.     CF set on error
  737. Notes:    this function is only available while MS Windows is running
  738.     the completion procedure is called with CF clear if the specified
  739.       VM has been made active, or with CF set on error
  740. SeeAlso: AX=000Fh,AX=0012h
  741. --------m-2C0012-----------------------------
  742. INT 2C P - Cloaking v1.01 - "Query_Current_VM"
  743.     AX = 0012h
  744. Return: CF clear
  745.     EBX = handle of active VM
  746.     ESI = handle of system VM
  747.     ECX = VM status flags (see #2217)
  748.     EDX = shell flags (see #2218)
  749. Note:    this function is only available while MS Windows is running in enhanced
  750.       mode
  751. SeeAlso: AX=000Fh,AX=0011h,AX=0013h
  752.  
  753. Bitfields for VM status flags:
  754. Bit(s)    Description    (Table 2217)
  755.  0    in exclusive mode
  756.  1    runs in background
  757.  2    being created
  758.  3    suspended
  759.  4    not executable
  760.  5    executing in protected mode
  761.  6    contains PM application
  762.  7    32-bit PM application
  763.  8    called from VxD
  764.  9    high priority background
  765.  10    blocked on semaphore
  766.  11    awakening
  767.  12    has pageable V86
  768.  13    has locked V86
  769.  14    is scheduled
  770.  15    idle
  771.  16    closing
  772.  
  773. Bitfields for shell flags:
  774. Bit(s)    Description    (Table 2218)
  775.  2    windowed
  776.  5    Alt-Tab reserved
  777.  6    Alt-Esc reserved
  778.  7    Alt-Space reserved
  779.  8    Alt-PrtSc reserved
  780.  9    Alt-Enter reserved
  781.  10    Alt-PrtSc reserved
  782.  11    PrtSc reserved
  783.  12    polling enabled
  784.  13    no HMA
  785.  14    has shortcut key
  786.  15    locked EMS handles
  787.  16    locked XMS handles
  788.  17    fast paste enabled
  789.  18    locked V86 memory
  790.  30    close-on-exit enabled
  791. --------m-2C0013-----------------------------
  792. INT 2C P - Cloaking v1.01 - "Issue_System_Modal_Message"
  793.     AX = 0013h
  794.     EDX = message box flags (see #2219)
  795.     DS:ECX -> ASCIZ message text
  796.     DS:EDI -> ASCIZ caption
  797. Return: CF clear
  798.     EAX = response code
  799. Note:    this function is only available while MS Windows is running in enhanced
  800.       mode
  801. SeeAlso: AX=000Fh,AX=0012h
  802.  
  803. Bitfields for message box flags:
  804. Bit(s)    Description    (Table 2219)
  805.  3-0    response codes (see #2220)
  806.  7-4    icon codes
  807.     1 = Warning hand
  808.     2 = exclamation mark
  809.     4 = asterisk
  810.  9-8    default response (0 = first button, 1 = second, 2 = third)
  811.  12    message is system model
  812.  15    don't change focus
  813.  29    hang with interrupts enabled
  814.  30    do not window
  815.  31    execute ASAP
  816.  
  817. (Table 2220)
  818. Values for response codes:
  819.  00h    OK
  820.  01h    OK, Cancel
  821.  02h    Abort, Retry, Ignore
  822.  03h    Yes, No, Cancel
  823.  04h    Yes, No
  824.  05h    Retry, Cancel
  825. --------m-2C001D-----------------------------
  826. INT 2C P - Cloaking v1.01 - GET INT 2C API HANDLER ENTRY POINT
  827.     AX = 001Dh
  828. Return: CF clear
  829.     DX:EBX = selector:offset of Cloaking host INT 2C handler
  830. Desc:    get the Cloaking host's entry point to bypass any other programs
  831.       which may have hooked INT 2C in protected mode
  832. Note:    the returned entry point must be called with a simulated INT, i.e.
  833.       a PUSHD must precede the far call to the handler
  834. SeeAlso: INT 2F/AX=4310h"Cloaking"
  835. --------m-2C001E-----------------------------
  836. INT 2C P - Cloaking v1.01 - CLEAR CRITICAL SECTION
  837.     AX = 001Eh
  838. Return: CF clear
  839. Desc:    allow MS Windows to switch to another VM after having prevented it
  840.       by invoking a critical section
  841. SeeAlso: AX=001Fh,INT 15/AX=101Ch,INT 2F/AX=1682h
  842. --------m-2C001F-----------------------------
  843. INT 2C P - Cloaking v1.01 - SET CRITICAL SECTION
  844.     AX = 001Fh
  845. Return: CF clear
  846. Desc:    prevent MS Windows from switching to another VM
  847. SeeAlso: AX=001Eh,INT 15/AX=101Bh,INT 2F/AX=1681h
  848. --------m-2C0020-----------------------------
  849. INT 2C P - Cloaking - GET SIZE OF PROTECTED-MODE STATE
  850.     AX = 0020h
  851. Return: EAX = number of bytes required for storing state
  852. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  853. SeeAlso: AX=0021h,AX=0022h
  854. --------m-2C0021-----------------------------
  855. INT 2C P - Cloaking - SAVE PROTECTED-MODE STATE
  856.     AX = 0021h
  857.     ES:EDI -> buffer for protected-mode state
  858. Return: CF clear
  859.     buffer filled
  860. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  861. SeeAlso: AX=0020h,AX=0022h
  862. --------m-2C0022-----------------------------
  863. INT 2C P - Cloaking - RESTORE PROTECTED-MODE STATE
  864.     AX = 0022h
  865.     DS:ESI -> buffer containing previously-saved protected-mode state
  866. Return: CF clear if successful
  867.         state restored
  868.     CF set on error (invalid buffer contents)
  869. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  870. SeeAlso: AX=0020h,AX=0021h
  871. --------m-2C0023-----------------------------
  872. INT 2C P - Cloaking - ISSUE PROTECTED-MODE XMS CALL
  873.     AX = 0023h
  874. Notes:    not currently implemented--NOP in RM386 v6.00
  875.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  876. --------m-2C0024-----------------------------
  877. INT 2C P - Cloaking - SET V86-MODE STACK
  878.     AX = 0024h
  879.     DX:EBX = new value for V86-mode SS:ESP
  880. Return: nothing
  881. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  882. --------m-2C0025-----------------------------
  883. INT 2C P - Cloaking - CALL V86-MODE PROCEDURE
  884.     AX = 0025h
  885.     DS:EBX -> client register structure (see #2214)
  886. Return: CF clear if successful
  887.         client register structure updated
  888.     CF set if no more nested procedure call space available
  889. Notes:    this call uses the V86-mode stack supplied in the client structure, and
  890.       calls the routine specified by CS:IP in the client structure
  891.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  892. SeeAlso: AX=0026h,AX=0027h,INT 31/AX=0301h
  893. --------m-2C0026-----------------------------
  894. INT 2C P - Cloaking - CALL V86-MODE INTERRUPT HANDLER
  895.     AX = 0026h
  896.     DS:EBX -> client register structure (see #2214)
  897.     CX = interrupt number
  898. Return: CF clear if successful
  899.         client register structure updated
  900.     CF set if no more nested procedure call space available
  901. Notes:    this call uses the V86-mode stack supplied in the client structure
  902.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  903. SeeAlso: AX=0025h,AX=0027h,INT 31/AX=0300h
  904. --------m-2C0027-----------------------------
  905. INT 2C P - Cloaking - CHAIN TO V86-MODE INTERRUPT HANDLER
  906.     AX = 0027h
  907.     DS:EBX -> client register structure (see #2214)
  908. Return: CF clear if successful
  909.         client register structure updated
  910.     CF set if no more nested procedure call space available
  911. Notes:    this call uses the V86-mode stack supplied in the client structure,
  912.       and jumps to the address specified by CS:IP in the client structure
  913.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  914. SeeAlso: AX=0025h,AX=0026h
  915. --------m-2C0028-----------------------------
  916. INT 2C P - Cloaking - GET ESP0 FROM TSS
  917.     AX = 0028h
  918. Return: CF clear
  919.     EAX = TSS's ESP0
  920. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00, the
  921.       memory manager included in Helix Software's Netroom
  922. --------m-2C0029-----------------------------
  923. INT 2C P - Cloaking - SET SECONDARY STACK
  924.     AX = 0029h
  925.     DX:EBX = new value for SS:ESP of ring 3 secondary stack
  926. Return: CF clear
  927. Desc:    inform RM386 of the ring 3 interrupt stack location
  928. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  929. --------m-2C002A-----------------------------
  930. INT 2C P - Cloaking - SET 8259 IRQ BASE VECTORS
  931.     AX = 002Ah
  932.     BL = base vector of master interrupt controller
  933.     CL = base vector of slave interrupt controller
  934. Notes:    this call merely informs RM386 that the caller has changed the
  935.       interrupt mappings
  936.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  937. SeeAlso: INT 67/AX=DE0Bh
  938. --------m-2C002BCH81-------------------------
  939. INT 2C P - Cloaking - PROTECTED-MODE VIRTUAL DMA SERVICES
  940.     AX = 002Bh
  941.     CH = 81h
  942.     CL = subfunction (02h-0Ch)
  943.     other registers as appropriate for subfunction
  944. Return: varies by function
  945.     CF set on error
  946. Notes:    these functions are equivalent to the INT 4B/AX=81xxh subfunctions
  947.       with the same numbers
  948.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  949. SeeAlso: INT 4B/AX=8102h,INT 4B/AX=810Ch
  950. --------m-2C002C-----------------------------
  951. INT 2C P - Cloaking - GET PORT-TRAPPING PASSALONG
  952.     AX = 002Ch
  953. Return: CF clear
  954.     DX:EBX = current I/O trapping passalong address
  955. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  956. SeeAlso: AX=0008h,AX=002Dh
  957. --------m-2C002D-----------------------------
  958. INT 2C P - Cloaking - SET PORT-TRAPPING PASSALONG
  959.     AX = 002Dh
  960.     DX:EBX = new I/O trapping passalong address (see #2221)
  961. Return: CF clear
  962. Notes:    RM386 calls the passalong address whenever an access to a monitored
  963.       I/O port is attempted; the handler should check whether it is a port
  964.       that it is interested in, and if not call the previous passalong
  965.       address (which was retrieved with AX=002Ch before installing the
  966.       new handler)
  967.     this function was first introduced with RM386 (RAM-MAN/386) v6.00
  968. SeeAlso: AX=0009h,AX=002Ch,INT 67/AX=5DEAh
  969.  
  970. (Table 2221)
  971. Values Cloaking port-trapping passalong address is called with:
  972.     EAX = CS:IP of faulting instruction (unless executing in protected-mode
  973.         ring 3)
  974.     SS:EBX -> caller register structure (see #2214)
  975.         check EFLAGS V86-mode bit for type
  976.     CX = first two bytes of I/O instruction which was trapped
  977.     DX = port to which I/O is being performed
  978.     CF clear
  979. Return: CF clear if RM386 should perform I/O operation
  980.     CF set if I/O should be skipped
  981. Note:    RM386 skips the trapped I/O instruction, so the passalong handler
  982.       should not modify the client CS:EIP
  983. --------m-2C002E-----------------------------
  984. INT 2C P - Cloaking - TRAP I/O PORT
  985.     AX = 002Eh
  986.     DX = port number to trap
  987. Return: CF clear if successful
  988.     CF set on error (port out of range or reserved)
  989. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  990. SeeAlso: AX=002Fh,AX=0030h
  991. --------m-2C002F-----------------------------
  992. INT 2C PU - Cloaking - UNTRAP I/O PORT
  993.     AX = 002Fh
  994.     DX = port number for which to cancel trapping
  995. Return: CF clear if successful
  996.     CF set on error (port out of range or reserved)
  997. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  998. SeeAlso: AX=002Eh,AX=0030h
  999. --------m-2C0030-----------------------------
  1000. INT 2C PU - Cloaking - GET TRAPPING STATE OF SPECIFIED PORT
  1001.     AX = 0030h
  1002.     DX = port number
  1003. Return: CF clear if successful
  1004.        BX = current state (0000h not trapped, 0001h trapped)
  1005.     CF set on error (port out of range or reserved)
  1006. Note:    this function was first introduced with RM386 (RAM-MAN/386) v6.00
  1007. SeeAlso: AX=002Eh,AX=002Fh
  1008. --------m-2C0031-----------------------------
  1009. INT 2C PU - RM386 v6.00 - BUG
  1010.     AX = 0031h
  1011. Program: RM386 (RAM-MAN/386) is the memory manager included in Helix
  1012.       Software's Netroom
  1013. Note:    due to a fencepost error, RM386 v6.00 will branch unpredictably if
  1014.       invoked with this function
  1015. --------m-2C0031-----------------------------
  1016. INT 2C P - Cloaking v1.01 - ALLOCATE V86 CALLBACK
  1017.     AX = 0031h
  1018.     DX:EBX = CS:EIP of protected-mode routine to be invoked by callback
  1019. Return: CF clear if successful
  1020.         EBX = CS:IP of V86-mode callback handler
  1021.     CF set on error
  1022. SeeAlso: AX=0032h
  1023. --------m-2C0032-----------------------------
  1024. INT 2C P - Cloaking v1.01 - FREE V86 CALLBACK
  1025.     AX = 0032h
  1026.     EBX = CS:IP of V86-mode callback handler
  1027. Return: CF clear if successful
  1028.     CF set on error
  1029.         AX = error code
  1030.         0005h invalid callback address
  1031.         0006h callback already free
  1032. SeeAlso: AX=0032h
  1033. --------m-2C0033-----------------------------
  1034. INT 2C P - Cloaking v1.01 - REGISTER CLOAKING CLIENT
  1035.     AX = 0033h
  1036.     DS:EDX -> client registration structure (see #2222)
  1037. Return: CF clear if successful
  1038.     CF set on error (linked list corrupt)
  1039. SeeAlso: AX=0034h,#2426 at INT 2F/AX=4310h"Cloaking"
  1040.  
  1041. Format of client registration structure:
  1042. Offset    Size    Description    (Table 2222)
  1043.  00h    PWORD    link to next structure
  1044.  06h    PWORD    link to previous structure
  1045.  0Ch  2 BYTEs    client version (major, minor)
  1046.  0Eh 20 BYTEs    client name
  1047.  22h    DWORD    physical address of client start
  1048.  26h    DWORD    client's total size in bytes
  1049. Note:    the link area should not be modified once the structure has been
  1050.       used for the registration call
  1051. --------m-2C0034-----------------------------
  1052. INT 2C P - Cloaking v1.01 - UNREGISTER CLOAKING CLIENT
  1053.     AX = 0034h
  1054.     DS:EDX -> client registration structure (see #2222)
  1055. Return: CF clear if successful
  1056.     CF set on error (linked list corrupt)
  1057. Note:    the client must unregister before freeing the XMS block containing
  1058.       its registration structure(s)
  1059. SeeAlso: AX=0033h,#2426 at INT 2F/AX=4310h"Cloaking"
  1060. --------D-2D---------------------------------
  1061. INT 2D - DOS 2+ - RESERVED
  1062. Note:    this vector is not used in DOS versions <= 6.00, and points at an IRET
  1063. BUG:    RM386 v6.00-6.02 (as distributed with Helix's Netroom v3.x) contains
  1064.       a stack bug in its protected-mode INT 2D handler which causes a crash
  1065.       when INT 2D is invoked from V86 mode
  1066. --------t-2D---------------------------------
  1067. INT 2D - ALTERNATE MULTIPLEX INTERRUPT SPECIFICATION (AMIS) [v3.6]
  1068.     AH = multiplex number
  1069.     AL = function
  1070.         00h installation check
  1071.         01h get private entry point
  1072.         02h uninstall
  1073.         03h request popup
  1074.         04h determine chained interrupts
  1075.         05h get hotkey list
  1076.         06h get device-driver information
  1077.         07h-0Fh reserved for future enhancements
  1078.         Return: AL = 00h (not implemented)
  1079.         other  application-dependent
  1080.     other registers vary by function (also see individual entries below)
  1081. Return: varies by function
  1082. Notes:    programs should not use fixed multiplex numbers; rather, a program
  1083.       should scan all multiplex numbers from 00h to FFh, remembering the
  1084.       first unused multiplex in case the program is not yet installed.
  1085.       For multiplex numbers which are in use, the program should compare
  1086.       the first 16 bytes of the signature string to determine whether it
  1087.       is already installed on that multiplex number.  If not previously
  1088.       installed, it should use the first free multiplex number.
  1089.     functions other than 00h are not valid unless a program is installed
  1090.       on the selected multiplex number
  1091.     to be considered fully compliant with version 3.6 of the specification,
  1092.       programs must implement at least functions 00h, 02h (no resident
  1093.       uninstall code required), and 04h (return value 04h).     TSRs that
  1094.       provide hotkeys with which the user can activate them must also
  1095.       implement function 05h.  TSRs which provide DOS device drivers must
  1096.       also implement function 06h.    The absolute minimum fully-compliant
  1097.       implementation has an overhead of 64 bytes (80 bytes with function
  1098.       05h) plus 22 bytes per hooked interrupt (for the interrupt sharing
  1099.       protocol header and hook list entry).
  1100.     the signature string and description may be used by memory mappers
  1101.       to display the installed programs
  1102.     to be considered fully compliant, users of this specification must
  1103.       adhere to the IBM interrupt sharing protocol (see #2223), which will
  1104.       permit removal of TSRs in arbitrary order and interrupt handler
  1105.       reordering.  All TSRs following this specification should be
  1106.       removable unless they are loaded from CONFIG.SYS, though they need
  1107.       not keep the code for removing themselves resident; it is acceptable
  1108.       for a separate program to perform the interrupt unhooking and
  1109.       memory-freeing steps of removal.
  1110.     A sample public-domain implementation including example TSRs and
  1111.       utility programs may be found in a separate package distributed as
  1112.       AMISLnnn.ZIP (AMISL092.ZIP as of this writing).
  1113.     Please let me know if you choose to follow this proposal.  The
  1114.       signature and a list of the private API calls you use would be
  1115.       appreciated, as well.
  1116. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=04h
  1117. SeeAlso: INT 2D/AL=05h,INT 2D/AL=06h,INT 2F"NOTES"
  1118.  
  1119. Format of interrupt sharing protocol interrupt handler entry point:
  1120. Offset    Size    Description    (Table 2223)
  1121.  00h  2 BYTEs    short jump to actual start of interrupt handler, immediately
  1122.           following this data block (EBh 10h)
  1123.  02h    DWORD    address of next handler in chain
  1124.  06h    WORD    signature 424Bh
  1125.  08h    BYTE    EOI flag
  1126.         00h software interrupt or secondary hardware interrupt handler
  1127.         80h primary hardware interrupt handler (will issue EOI)
  1128.  09h  2 BYTEs    short jump to hardware reset routine
  1129.         must point at a valid FAR procedure (may be just RETF)
  1130.  0Bh  7 BYTEs    reserved (0) by IBM for future expansion
  1131. Note:    when chaining to the prior handler, the interrupt handler must perform
  1132.       an indirect jump/call using the address at offset 02h in the
  1133.       ISP header.  This permits another AMIS TSR to hook itself into
  1134.       the chain at a position other than as the first handler to receive
  1135.       an interrupt.
  1136. SeeAlso: INT F1/AH=01h"Common ISDN API",INT F1/AH=06h"CAPI",#3669
  1137. --------t-2D--00-----------------------------
  1138. INT 2D - AMIS v3.0+ - INSTALLATION CHECK
  1139.     AL = 00h
  1140.     AH = multiplex number for program
  1141. Return: AL = 00h if free
  1142.     AL = FFh if multiplex number in use
  1143.         CX = binary version number (CH = major, CL = minor)
  1144.         DX:DI -> signature string (see #2224) identifying the program
  1145.           using the multiplex number
  1146. SeeAlso: INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=04h,INT 2D/AL=05h
  1147. SeeAlso: INT 2D/AL=06h
  1148. Index:    installation check;Alternate Multiplex Interrupt Specification
  1149. Index:    installation check;AMIS|installation check;FASTMOUS
  1150. Index:    installation check;SPELLER|installation check;Monitor
  1151. Index:    installation check;NOLPT|installation check;NOTE
  1152. Index:    installation check;RBkeyswp|installation check;SWITCHAR
  1153. Index:    installation check;VGABLANK|installation check;EATMEM
  1154. Index:    installation check;RECALL|installation check;XPTR2
  1155.  
  1156. Format of AMIS signature string:
  1157. Offset    Size    Description    (Table 2224)
  1158.  00h  8 BYTEs    blank-padded manufacturer's name (possibly abbreviated)
  1159.  08h  8 BYTEs    blank-padded product name
  1160.  10h 64 BYTEs    ASCIZ product description (optional, may be a single 00h)
  1161. Note:    it is not necessary to reserve a full 64 bytes for the description,
  1162.       just enough to store the actual ASCIZ string
  1163. SeeAlso: #2225
  1164.  
  1165. (Table 2225)
  1166. Values for AMIS signatures known to be in use:
  1167.  'Byrial J' 'EKLAVO  '    permits keyboard entry of Esperanto accented letters
  1168.  'CoveSoft' 'Burnout+'    shareware screen saver Burnout Plus
  1169.  'Crynwr  ' 'SPELLER '    TSR spelling-checker
  1170.  'CPH1995 ' 'CDTSR   '    resident CD-Audio player
  1171.  'CPH1996 ' 'DSAPI   '
  1172.  'CSJewell' 'Modula3L'    Curtis Jewell's Modula-3 compiler (non-TSR)
  1173.  'DAISYCHA' 'INDRIVER'    Advanced Parallel Port daisy chain driver (vendor name
  1174.               in product description field, if desired)
  1175.             (see also INT 2D/AL=DCh)
  1176.  'DTown SD' 'DTU     '    DTown Software Development's DTown Utilities
  1177.             (see also INT 2D/AL=20h)
  1178.  'ECLIPSE ' 'PLUMP   '    Eclipse Software's printer and plotter spooler
  1179.  'GraySoft' 'GIPC    '    GraySoft's Inter-Process Communications driver
  1180.  'heathh  ' 'Monitor '
  1181.  'Helge O '        TSRs by Helge Olav Helgesen
  1182.  'J. Berry' 'RATSR   '    RemoteAccess Network Manager workstation module
  1183.  'JWB      ' 'RAMLIGHT'    James Birdsall's on-screen RAMdisk activity indicator
  1184.  'M Better' 'iHPFS   '    Marcus Better's HPFS filesystem driver for DOS
  1185.  'M. Paul ' 'FREEVER '    DOS version-faking TSR by Matthias Paul
  1186.  'Nildram ' 'ST         '    Screen Thief graphics screen grabber
  1187.  'Pino Nav' 'ALTMENU '    activate any program's menu bar by pressing Alt key
  1188.  'Pino Nav' 'Keybit  '    Pino Navato's KEYBIT Lite Italian keyboard driver v4+
  1189.  'PowrQuot' 'CAPRILOG'
  1190.  'PowrQuot' 'CAPRITSR'
  1191.  'PowrQuot' 'CAPRIWIN'
  1192.  'R-Ware  ' 'dLite   '    run-time data decompression TSR
  1193.  'Ralf B  ' 'disaXXYY'    RBdisabl -- disable key scancode XX w/ shift states YY
  1194.  'Ralf B  ' 'DUALVGA '    dual-VGA support, screen blanker, and DPMS driver
  1195.  'Ralf B  ' 'FASTMOUS'    example TSR included with sample AMIS library code
  1196.  'Ralf B  ' 'NoBreak '    disable Ctrl-@, Ctrl-C, and Ctrl-Break keys
  1197.  'Ralf B  ' 'NOLPT n '    example TSR -- turn LPTn into bit-bucket
  1198.  'Ralf B  ' 'NOTE    '    example TSR -- popup note-taker
  1199.  'Ralf B  ' 'RBclock '    RBclock -- on-screen real-time clock
  1200.  'Ralf B  ' 'RBclockE'    RBclock -- on-screen elapsed-time clock
  1201.  'Ralf B  ' 'RBdvorak'    Dvorak keyboard mapping w/ opt Esc/~, LCtrl/CapsLk swap
  1202.  'Ralf B  ' 'RBkcount'    display count of keystrokes on screen
  1203.  'Ralf B  ' 'RBkeyswp'    RBkeyswap v3.0+ -- swap Esc/~ and LCtrl/CapsLock keys
  1204.  'Ralf B  ' 'RBnoboot'    disable Ctrl-Alt-Del key combination
  1205.  'Ralf B  ' 'ShftCaps'    require Shift-CapsLock to turn on CapsLock
  1206.  'Ralf B  ' 'ShftNumL'    require Shift-NumLock to turn off NumLock
  1207.  'Ralf B  ' 'SWITCHAR'    example TSR -- add switchar() support removed from DOS5
  1208.  'Ralf B  ' 'VGABLANK'    VGA-only screen blanker
  1209.  'Ralf B  ' 'WINTAME '    yield CPU when program in Win95 DOS box is idle
  1210.  'Sally IS' 'Mdisk   '    removeable, resizeable RAMdisk
  1211.  'Sally IS' 'Scr2Tex '    screen dumper with output in (La)Tex format
  1212.  'SRT      ' 'STOPBOOT'    reboot preventer by Steve Talbot
  1213.  'Thaco      ' 'NEST    '    Eirik Pedersen's programmer's delimiter matcher
  1214.  'TifaWARE' 'EATMEM  '    George A. Theall's public domain memory restrictor for
  1215.             testing programs (v1.1+)
  1216.  'TifaWARE' 'RECALL  '    public domain commandline editor and history (v1.2+)
  1217.  'Todd      ' 'XPTR2   '    PC-to-Transputer interface by Todd Radel
  1218.  'WlkngOwl' 'NoiseSYS'    NOISE.SYS random-number generator
  1219. SeeAlso: #2224
  1220. --------t-2D--01-----------------------------
  1221. INT 2D - AMIS v3.0+ - GET PRIVATE ENTRY POINT
  1222.     AL = 01h
  1223.     AH = multiplex number for program
  1224. Return: AL = 00h if all API calls via INT 2D
  1225.     AL = FFh if entry point supported
  1226.         DX:BX -> entry point for bypassing interrupt chain
  1227. Note:    this function is not valid unless a program is installed on the
  1228.       specified multiplex number; use INT 2D/AL=00h to check
  1229. SeeAlso: INT 2D/AL=00h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=04h,INT 2D/AL=05h
  1230. SeeAlso: INT 2D/AL=06h
  1231. Index:    entry point;Alternate Multiplex Interrupt|entry point;AMIS
  1232. --------t-2D--02-----------------------------
  1233. INT 2D - AMIS v3.0+ - UNINSTALL
  1234.     AL = 02h
  1235.     AH = multiplex number for program
  1236.     DX:BX = return address for successful uninstall (may be    ignored by TSR)
  1237. Return: AL = status
  1238.         00h not implemented (makes TSR non-compliant with specification)
  1239.         01h unsuccessful
  1240.         02h can not uninstall yet, will do so when able
  1241.         03h safe to remove, but no resident uninstaller
  1242.           (TSR still enabled)
  1243.         BX = segment of memory block with resident code
  1244.         04h safe to remove, but no resident uninstaller
  1245.           (TSR now disabled)
  1246.         BX = segment of memory block with resident code
  1247.         05h not safe to remove now, try again later
  1248.         06h disabled, but can not be removed from memory
  1249.           because loaded from CONFIG.SYS
  1250.         07h safe to remove, but no resident device-driver
  1251.           uninstaller.    Caller must unlink device
  1252.           drivers from DOS device chain as well as
  1253.           unhooking interrupts and freeing memory
  1254.         BX = segment of memory block with resident code
  1255.         FFh successful
  1256.     return at DX:BX with AX destroyed if successful and TSR honors
  1257.       specific return address
  1258. Note:    this function is not valid unless a program is installed on the
  1259.       specified multiplex number; use INT 2D/AL=00h to check
  1260. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=03h,INT 2D/AL=04h,INT 2D/AL=05h
  1261. SeeAlso: INT 2D/AL=06h
  1262. Index:    uninstall;Alternate Multiplex Interrupt Specification|uninstall;AMIS
  1263. --------t-2D--03-----------------------------
  1264. INT 2D - AMIS v3.0+ - REQUEST POP-UP
  1265.     AL = 03h
  1266.     AH = multiplex number for program
  1267. Return: AL = status
  1268.         00h not implemented or TSR is not a pop-up
  1269.         01h can not pop up at this time, try again later
  1270.         02h can not pop up yet, will do so when able
  1271.         03h already popped up
  1272.         04h unable to pop up, user intervention required
  1273.         BX = standard reason code
  1274.             0000h unknown failure
  1275.             0001h interrupt chain passes through memory
  1276.               which must be swapped out to pop up
  1277.             0002h swap-in failed
  1278.         CX = application's reason code if nonzero
  1279.         FFh TSR popped up and was exited by user
  1280.         BX = return value
  1281.             0000h no return value
  1282.             0001h TSR unloaded
  1283.             0002h-00FFh reserved
  1284.             0100h-FFFFh application-dependent
  1285. Note:    this function is not valid unless a program is installed on the
  1286.       specified multiplex number; use INT 2D/AL=00h to check
  1287. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=04h,INT 2D/AL=05h
  1288. SeeAlso: INT 2D/AL=06h
  1289. --------t-2D--04-----------------------------
  1290. INT 2D - AMIS v3.0+ - DETERMINE CHAINED INTERRUPTS
  1291.     AL = 04h
  1292.     AH = multiplex number for program
  1293.     BL = interrupt number (except 2Dh)
  1294. Return: AL = status
  1295.         00h not implemented (makes TSR non-compliant with specification)
  1296.         01h (obsolete) unable to determine
  1297.         02h (obsolete) interrupt hooked
  1298.         03h (obsolete) interrupt hooked, address returned
  1299.         DX:BX -> TSR's interrupt BL handler
  1300.         04h list of hooked interrupts returned
  1301.         DX:BX -> interrupt hook list (see #2226)
  1302.         FFh interrupt not hooked
  1303. Notes:    BL is ignored if the TSR returns AL=04h; in that case, the caller
  1304.       needs to scan the return list rather than making additional calls
  1305.       to this function.  If the return is not 00h or 04h, then the caller
  1306.       must cycle through the remaining interrupt numbers it wishes to
  1307.       check.
  1308.     return values 01h through 03h may not be used by AMIS v3.6-compliant
  1309.       programs; they are included here solely for compatibility with
  1310.       version 3.3, though they were probably never used in any
  1311.       implementation
  1312.     for return values 01h through 03h, since INT 2D is known to be hooked,
  1313.       the resident code need not test for BL=2Dh (to minimize its size),
  1314.       and the return value is therefore undefined in that case.
  1315.     this function is not valid unless a program is installed on the
  1316.       specified multiplex number; use INT 2D/AL=00h to check
  1317. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=05h
  1318. SeeAlso: INT 2D/AL=06h
  1319.  
  1320. Format of AMIS interrupt hook list [array]:
  1321. Offset    Size    Description    (Table 2226)
  1322.  00h    BYTE    interrupt number (last entry in array is 2Dh)
  1323.  01h    WORD    offset within hook list's segment of the interrupt handler
  1324.         this will point at the initial short jump of the interrupt
  1325.           sharing protocol header (see #2223)
  1326. SeeAlso: #2227
  1327. --------t-2D--05-----------------------------
  1328. INT 2D - AMIS v3.5+ - GET HOTKEYS
  1329.     AL = 05h
  1330.     AH = multiplex number for program
  1331. Return: AL = status
  1332.         00h not implemented
  1333.         FFh supported
  1334.         DX:BX -> hotkey list (see #2227)
  1335. Notes:    this function is not valid unless a program is installed on the
  1336.       specified multiplex number; use INT 2D/AL=00h to check
  1337.     programs which provide hotkeys are required to provide this function
  1338.       to be fully compliant with this specification
  1339. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=04h
  1340. SeeAlso: INT 2D/AL=06h
  1341.  
  1342. Format of AMIS hotkey list:
  1343. Offset    Size    Description    (Table 2227)
  1344.  00h    BYTE    type of hotkey checking (see #2228)
  1345.  01h    BYTE    number of hotkeys (may be zero if TSR can disable hotkeys)
  1346.  02h 6N BYTEs    array of hotkey definitions
  1347.         (one per hotkey, first should be primary hotkey)
  1348.         Offset    Size    Description
  1349.          00h    BYTE    hotkey scan code (00h/80h if shift states only)
  1350.                 hotkey triggers on release if bit 7 set
  1351.          01h    WORD    required shift states (see #2229)
  1352.          03h    WORD    disallowed shift states (see #2229)
  1353.          05h    BYTE    hotkey flags (see #2230)
  1354. Notes:    except for bit 7, the shift states correspond exactly to the return
  1355.       values from INT 16/AH=12h.  A set bit in the required states word
  1356.       indicates that the corresponding shift state must be active when the
  1357.       hotkey's scan code is received for the hotkey to be recognized; a
  1358.       clear bit means that the corresponding state may be ignored.    A set
  1359.       bit in the disallowed shift states word indicates that the
  1360.       corresponding shift state must be inactive.
  1361.     for the disallowed-states word, if one of the "either" bits is set,
  1362.       then both the corresponding left bit and right bit must be set
  1363.     examples:
  1364.         Ctrl-Alt-Del monitoring: 53h 000Ch 0003h 06h
  1365.         Alt-key tap (DESQview):     B8h 0000h 0007h 08h
  1366.         Shf-Shf-N (NOTE.COM):     31h 0003h 000Ch 00h
  1367. Index:    hotkeys;AMIS
  1368. SeeAlso: #0005
  1369.  
  1370. Bitfields for type of AMIS hotkey checking:
  1371. Bit(s)    Description    (Table 2228)
  1372.  0    checks before chaining INT 09
  1373.  1    checks after chaining INT 09
  1374.  2    checks before chaining INT 15/AH=4Fh
  1375.  3    checks after chaining INT 15/AH=4Fh
  1376.  4    checks on INT 16/AH=00h,01h,02h
  1377.  5    checks on INT 16/AH=10h,11h,12h
  1378.  6    checks on INT 16/AH=20h,21h,22h
  1379.  7    reserved (0)
  1380. SeeAlso: #2227
  1381.  
  1382. Bitfields for AMIS shift states:
  1383. Bit(s)    Description    (Table 2229)
  1384.  0    right shift pressed
  1385.  1    left shift pressed
  1386.  2    either control key pressed
  1387.  3    either Alt key pressed
  1388.  4    ScrollLock active
  1389.  5    NumLock active
  1390.  6    CapsLock active
  1391.  7    either shift key pressed
  1392.  8    left control key pressed
  1393.  9    left Alt key pressed
  1394.  10    right control key pressed
  1395.  11    right Alt key pressed
  1396.  12    ScrollLock pressed
  1397.  13    NumLock pressed
  1398.  14    CapsLock pressed
  1399.  15    SysReq key pressed
  1400. Notes:    if bit 2 is set, either control key may be pressed for the hotkey; if
  1401.       bits 8 and 10 are both set, then both control keys must be pressed.
  1402.       Similarly for bits 3 and 9/11, as well as 7 and 0/1.
  1403.     the SysReq key is often labeled SysRq
  1404. SeeAlso: #2227,#2230
  1405.  
  1406. Bitfields for AMIS hotkey flags:
  1407. Bit(s)    Description    (Table 2230)
  1408.  0    hotkey chained before processing
  1409.  1    hotkey chained after processing
  1410.  2    others should pass through this hotkey so that it can be monitored
  1411.  3    hotkey will not activate if other keys pressed/released before hotkey
  1412.       press is completed
  1413.  4    this key is remapped into some other key
  1414.  5    this key is conditionally chained (sometimes passed on, sometimes
  1415.       swallowed)
  1416.  6-7    reserved (0)
  1417. SeeAlso: #2227,#2229
  1418. --------t-2D--06-----------------------------
  1419. INT 2D - AMIS v3.6 - GET DEVICE-DRIVER INFORMATION
  1420.     AL = 06h
  1421.     AH = multiplex number for program
  1422. Return: AL = number of device driver headers supplied by prog.
  1423.     AH = device-driver flags (see #2231)
  1424.     DX:BX -> first device driver header (see #1298)
  1425. Program: AMIS is the Alternate Multiplex Interrupt Specification promulgated
  1426.       by Ralf Brown
  1427. Notes:    if AL=00h, AH,BX,DX are meaningless and may be destroyed
  1428.     this function is not valid unless a program is installed on the
  1429.       specified multiplex number; use INT 2D/AL=00h to check
  1430.     programs which provide device drivers are required to support this
  1431.       function to be considered fully compliant with v3.6+ of the
  1432.       specification
  1433. SeeAlso: INT 2D/AL=00h,INT 2D/AL=01h,INT 2D/AL=02h,INT 2D/AL=03h,INT 2D/AL=04h
  1434. SeeAlso: INT 2D/AL=05h
  1435.  
  1436. Bitfields for AMIS device-driver information flags:
  1437. Bit(s)    Description    (Table 2231)
  1438.  0    program loaded from CONFIG.SYS, and thus can not be removed from memory
  1439.     (leave clear if unable to determine)
  1440.  1    device driver headers have not been linked into DOS device chain
  1441.  2    reentrant device driver(s)
  1442. --------N-2D--10-----------------------------
  1443. INT 2D - RATSR 2.0+ - GET STATUS
  1444.     AL = 10h
  1445.     AH = AMIS multiplex number for RATSR
  1446. Return: AL = status
  1447.         01h listening (no connection)
  1448.         02h receiving          \
  1449.         03h sending               > station being monitored
  1450.         04h initializing receive  /
  1451.     AH = keyboard lock status (00h unlocked, 01h locked)
  1452. Program: RATSR is a utility by James Berry provided with
  1453.       RemoteAccess/Professional, a commercial bulletin board system, that
  1454.       allows remote control of a station over a network
  1455. SeeAlso: INT 2D"AMIS"
  1456. --------d-2D--10-----------------------------
  1457. INT 2D - dLite 1.0+ - GET PARAMETER BLOCK ADDRESS
  1458.     AL = 10h
  1459.     AH = AMIS multiplex number for dLite
  1460. Return: CF clear if successful
  1461.         ES:BX -> parameter block (see #2232)
  1462.     CF set on error
  1463. Program: dLite is a shareware TSR by Rainer Schuetze which transparently
  1464.       expands compressed files when they are read
  1465. SeeAlso: AL=11h"dLite",AL=12h"dLite",INT 21/AX=FEDCh"PCMANAGE"
  1466.  
  1467. Format of dLite parameter block:
  1468. Offset    Size    Description    (Table 2232)
  1469.  00h    BYTE    TSR flags (see #2233)
  1470.  01h    WORD    maximum number of programs needing original filesize
  1471.  03h    WORD    current number of programs needing original filesize
  1472.  05h    WORD    maximum number of files that can be handled by dLite (should
  1473.           be the same as FILES= in CONFIG.SYS)
  1474.  07h    WORD    offset (in the same segment as the parameter block) of the
  1475.           table of programs needing the original filesize (8 bytes
  1476.           each,    without path or extension, uppercase, and zero \
  1477.           terminated if    shorter than 8 bytes)
  1478.  
  1479. Bitfields for dLite TSR flags:
  1480. Bit(s)    Description    (Table 2233)
  1481.  0    deny FCB access
  1482.  1    dLite sleeping rather than activated
  1483.  2    always indicate original filesize when reading directory entries,
  1484.       rather than only for specified programs
  1485.  3-7    reserved
  1486. SeeAlso: #2232
  1487. --------V-2D--10-----------------------------
  1488. INT 2D - Burnout Plus v3.00 - GET STATE/CONTROL INFORMATION
  1489.     AL = 10h
  1490.     AH = AMIS multiplex number for Burnout Plus
  1491. Return: AL = 01h
  1492.     BX = Burnout Plus status (see #2234)
  1493.     CX = record of features loaded (see #2235)
  1494.     ES:DI -> Burnout Plus control structure (see #2236)
  1495. Program: Burnout Plus is a DOS screen saver from Cove Software
  1496. SeeAlso: INT 14/AX=AA01h,INT 2D"AMIS"
  1497. Index:    screen saver;Burnout Plus
  1498.  
  1499. Bitfields for Burnout Plus status:
  1500. Bit(s)    Description    (Table 2234)
  1501.  0    screen is blanked
  1502.  1    MS Windows is active (Burnout Plus deactivated)
  1503.  2-15    reserved
  1504.  
  1505. Bitfields for Burnout Plus features loaded/features enabled:
  1506. Bit(s)    Description    (Table 2235)
  1507.  0    mouse activity monitor
  1508.  1    passkey support
  1509.  2    password support
  1510.  3    continuous clear
  1511.  4    software blanking
  1512.  5    video activity monitor
  1513.  6    disk activity monitor
  1514.  7    activating keystroke suppression
  1515. SeeAlso: #2236
  1516.  
  1517. Format of Burnout Plus control structure:
  1518. Offset    Size    Description    (Table 2236)
  1519.  00h    BYTE    size of structure in bytes
  1520.  01h    WORD    Burnout Plus version
  1521.  03h    WORD    screen blanking reset count in clock ticks
  1522.  05h    WORD    current countdown value in clock ticks
  1523.  07h    BYTE    type of timeout specification
  1524.  08h    BYTE    instant-blank hotkey
  1525.  09h    WORD    extended status information (see #2237)
  1526.         the bits for password, passkey, and software blanking are
  1527.           ignored and cannot be enabled or disabled externally
  1528.  0Bh    WORD    features enabled (see #2235)
  1529. Note:    all fields except the first two may be modified by external programs
  1530.       to affect the operation of Burnout Plus
  1531. Index:    hotkeys;Burnout Plus
  1532.  
  1533. Bitfields for extended Burnout Plus status information:
  1534. Bit(s)    Description    (Table 2237)
  1535.  0    Burnout Plus disabled
  1536.  1    force screen to blank on next clock tick
  1537.  2    restore screen if currently blanked
  1538.  3-15    reserved
  1539. Note:    1 and 2 are automatically cleared by Burnout Plus after blanking
  1540.       or restoring the screen
  1541. SeeAlso: #2236
  1542. --------V-2D--10-----------------------------
  1543. INT 2D U - Screen Thief v1.00 - FREE HIGH MEMORY BUFFERS
  1544.     AL = 10h
  1545.     AH = AMIS multiplex number for Screen Thief
  1546. Return: nothing
  1547. Program: Screen Thief is a graphics screen grabber
  1548. Note:    releases any code and data stored in EMS, DOS UMBs, or XMS UMBs, but
  1549.       does not release the low-memory stub; this may be used to effect a
  1550.       partial uninstall if INT 2D/AL=02h fails
  1551. SeeAlso: INT D8"Screen Thief"
  1552. --------i-2D--10-----------------------------
  1553. INT 2D U - RAMLIGHT v1.0 - GET MONITORING INFORMATION
  1554.     AL = 10h
  1555.     AH = AMIS multiplex number for RAMLIGHT
  1556. Return: ES:BX -> array of fake device driver headers used in monitoring
  1557.     CX = number of drives being monitored???
  1558. --------U-2D--10-----------------------------
  1559. INT 2D - DTown Utilities v1.40+ - EXTENDED API INSTALLATION CHECK
  1560.     AL = 10h
  1561. Return: AL = FFh
  1562.     BL = extended API availability (00h no, 01h API is loaded)
  1563. SeeAlso: INT 2D/AL=11h"DTown",INT 2D/AL=20h,INT 2D/AL=50h
  1564. --------s-2D--10-----------------------------
  1565. INT 2D - CDTSR - GET INTERNAL VARIABLE TABLE
  1566.     AL = 10h
  1567.     AH = AMIS multiplex number for CDTSR
  1568. Return: CX:DX -> CDTSR internal variable structure (see #2238)
  1569. Program: CDTSR is a resident audio CD player by Colin Hill
  1570. SeeAlso: INT 2D/AL=11h"CDTSR",INT 2D/AL=12h"CDTSR",INT 2D/AL=13h"CDTSR"
  1571.  
  1572. Format of CDTSR internal variable structure:
  1573. Offset    Size    Description    (Table 2238)
  1574.  00h    BYTE    hotkey scan code (see #0005)
  1575.  01h    BYTE    hotkey shift states
  1576.  02h    BYTE    flag: repeat
  1577.  03h    BYTE    flag: custom repeat
  1578.  04h    BYTE    flag: background polling
  1579.  05h    DWORD    (read-only) internal timing variable
  1580.  09h    DWORD    current track play position, in frames
  1581.  0Dh    DWORD    current disk play position, in frames
  1582.  11h    BYTE    number of entries in track program
  1583.  12h    BYTE    index into track program currently playing (FFh if not playing)
  1584.  13h 100 BYTEs    track program (each byte contains one track number)
  1585.  77h    BYTE    saved cursor end scan line
  1586.  78h    BYTE    saved cursor start scan line
  1587.  79h    BYTE    currently playing track
  1588.  7Ah    BYTE    CD driver media-change flag
  1589.  7Bh    WORD    video base segment during last popup
  1590.  7Dh    WORD    video page offset during last popup
  1591.  7Fh    BYTE    currently-selected track
  1592.  80h    DWORD    begin of custom repeat, in frames
  1593.  84h    DWORD    end of custom repeat, in frames
  1594.  88h    WORD    track program index of top list item
  1595. --------K-2D--10-----------------------------
  1596. INT 2D - KEYBIT Lite v5+ - GET POINTER TO STATUS BYTE
  1597.     AL = 10h
  1598.     AH = AMIS multiplex number for KEYBIT Lite
  1599. Return: DX:BX -> status byte (see #2239)
  1600. Program: KEYBIT Lite is an enhanced Italian keyboard driver by Pino Navato.
  1601. SeeAlso: INT 2D"AMIS"
  1602.  
  1603. Bitfields for KEYBIT Lite status byte:
  1604. Bit(s)    Description    (Table 2239)
  1605.  7    KEYBIT Lite active
  1606.  6    E-mail support active
  1607.  5-0    reserved
  1608. Notes:    E-mail support is one of the original features of KEYBIT Lite.    It is
  1609.       the automatic conversion of the 8-bits ASCII chars produced by some
  1610.       keys available on Italian keyboards to couples of 7-bits chars.
  1611.     Message editors should always enable e-mail support, they should also
  1612.       restore its original status before exiting.
  1613.     The user can change both status bits by hotkeys.
  1614. --------K-2D--10-----------------------------
  1615. INT 2D - ALTMENU - GET POINTER TO KEY CODE
  1616.     AL = 10h
  1617.     AH = AMIS multiplex number for signature 'Pino Nav' 'ALTMENU '
  1618. Return: DX:BX -> WORD key code to insert in keyboard buffer on Alt-key tap
  1619. Program: Pino Navato's freeware ALTMENU permits activating the menu bar of
  1620.       any program by pressing the Alt key alone.
  1621. Notes:    The value in the key code word will be returned in AX by a call to
  1622.       INT 16/AH=00h after the Alt key is pressed by itself
  1623.     ALTMENU may be disabled by setting the key code equal to 0000h
  1624. SeeAlso: INT 16/AH=00h,INT 2D"AMIS"
  1625. --------d-2D--11-----------------------------
  1626. INT 2D - dLite 1.0+ - CHECK FOR dPressed FILE AND GET ORIGINAL SIZE
  1627.     AL = 11h
  1628.     AH = AMIS multiplex number for dLite
  1629.     BX = file handle
  1630. Return: CF clear if successful
  1631.         DX:AX = size of uncompressed file
  1632.     CF set on error (not dPressed file)
  1633. SeeAlso: AL=10h"dLite",AL=12h"dLite"
  1634. --------U-2D--11-----------------------------
  1635. INT 2D - DTown Utilities v1.40+ - UTILITY INSTALLATION CHECK
  1636.     AL = 11h
  1637.     BL = function
  1638.         00h get number of installed utilities
  1639.         Return: BL = number of utilities
  1640.         01h get installed utilities
  1641.         DX:DI -> buffer containing one byte for each utility
  1642.         Return: DX:DI buffer filled with flags (0=no,1=yes) indicating
  1643.               whether the corresponding utility is loaded
  1644. Return: AL = FFh if supported
  1645. Note:    this function is only available if the extended API has been installed
  1646.       in the resident portion
  1647. SeeAlso: INT 2D/AL=10h"DTown",INT 2D/AL=20h
  1648. --------s-2D--11-----------------------------
  1649. INT 2D - CDTSR - REPROGRAM CDTSR
  1650.     AL = 11h
  1651.     AH = AMIS multiplex number for CDTSR
  1652. Return: nothing
  1653. Program: CDTSR is a resident audio CD player by Colin Hill
  1654. Desc:    reprograms CDTSR based on the values in the internal variable
  1655.       structure (see #2238), which may have been changed by an application
  1656. SeeAlso: INT 2D/AL=10h"CDTSR",INT 2D/AL=12h"CDTSR",INT 2D/AL=13h"CDTSR"
  1657. --------d-2D--12-----------------------------
  1658. INT 2D - dLite 1.0+ - CHECK FOR dPressed FILE AND GET COMPRESSED SIZE
  1659.     AL = 12h
  1660.     AH = AMIS multiplex number for dLite
  1661.     BX = file handle
  1662. Return: CF clear if successful
  1663.         DX:AX = size of compressed file
  1664.     CF set on error (not dPressed file)
  1665. SeeAlso: AL=10h"dLite",AL=11h"dLite"
  1666. --------s-2D--12-----------------------------
  1667. INT 2D - CDTSR - DISABLE POPUP
  1668.     AL = 12h
  1669.     AH = AMIS multiplex number for CDTSR
  1670. Return: nothing
  1671. SeeAlso: INT 2D/AL=10h"CDTSR",INT 2D/AL=11h"CDTSR",INT 2D/AL=13h"CDTSR"
  1672. --------U-2D--12-----------------------------
  1673. INT 2D - FREEVER - GET ORIGINAL DOS VERSION INFO
  1674.     AL = 12h
  1675.     AH = AMIS multiplex number for FREEVER
  1676. Return: AL = FFh if successful
  1677.         BH = major DOS version
  1678.         BL = minor DOS version
  1679.         CH = DOS version flag
  1680.         CL = OEM number
  1681.         DH = major DR DOS version number (FFh if unknown)
  1682.         DL = minor DR DOS version number (FFh if unknown)
  1683. Program: FREEVER is an AMIS-conformant freeware DOS version-faking TSR similar
  1684.       to SETVER for any DOS-compatible OS, written by Matthias Paul
  1685. SeeAlso: INT 2D/AL=13h"FREEVER",INT 2D/AL=14h"FREEVER",INT 2D/AL=17h"FREEVER"
  1686. --------s-2D--13-----------------------------
  1687. INT 2D - CDTSR - ENABLE POPUP
  1688.     AL = 13h
  1689.     AH = AMIS multiplex number for CDTSR
  1690. Return: nothing
  1691. Program: CDTSR is a resident audio CD player by Colin Hill
  1692. SeeAlso: INT 2D/AL=10h"CDTSR",INT 2D/AL=11h"CDTSR",INT 2D/AL=12h"CDTSR"
  1693. --------U-2D--13-----------------------------
  1694. INT 2D - FREEVER - SET VERSION NUMBERS
  1695.     AL = 13h
  1696.     AH = AMIS multiplex number for FREEVER
  1697.     BH = new major DOS version
  1698.     BL = new minor DOS version
  1699.     CH = new DOS version flag
  1700.     CL = new DOS revision number
  1701.     DH = new OEM number
  1702. SeeAlso: INT 2D/AL=12h"FREEVER",INT 2D/AL=15h"FREEVER",INT 2D/AL=17h"FREEVER"
  1703. --------U-2D--14-----------------------------
  1704. INT 2D - FREEVER - ENABLE TSR
  1705.     AL = 14h
  1706.     AH = AMIS multiplex number for FREEVER
  1707. Return: AL = FFh if successful
  1708. SeeAlso: INT 2D/AL=12h"FREEVER",INT 2D/AL=15h"FREEVER",INT 2D/AL=16h"FREEVER"
  1709. --------U-2D--15-----------------------------
  1710. INT 2D - FREEVER - DISABLE TSR
  1711.     AL = 15h
  1712.     AH = AMIS multiplex number for FREEVER
  1713. Return: AL = FFh if successful
  1714. SeeAlso: INT 2D/AL=12h"FREEVER",INT 2D/AL=14h"FREEVER",INT 2D/AL=16h"FREEVER"
  1715. --------U-2D--16-----------------------------
  1716. INT 2D - FREEVER - GET TSR STATUS
  1717.     AL = 16h
  1718.     AH = AMIS multiplex number for FREEVER
  1719. Return: AL = FFh if successful
  1720.         BL = status
  1721.         01h resident and active
  1722.         02h resident and inactive
  1723. SeeAlso: INT 2D/AL=12h"FREEVER",INT 2D/AL=15h"FREEVER",INT 2D/AL=17h"FREEVER"
  1724. --------U-2D--17-----------------------------
  1725. INT 2D - FREEVER - GET TaskMAX STATUS AT INSTALLATION
  1726.     AL = 17h
  1727.     AH = AMIS multiplex number for FREEVER
  1728. Return: AL = FFh if successful
  1729.         BL = status
  1730.         00h if TaskMAX not loaded before SETDRVER
  1731.         FFh if TaskMAX was loaded before SETDRVER
  1732. Program: FREEVER is an AMIS-conformant freeware DOS version-faking TSR similar
  1733.       to SETVER for any DOS-compatible OS, written by Matthias Paul
  1734. SeeAlso: INT 2D/AL=12h"FREEVER",INT 2D/AL=14h"FREEVER",INT 2D/AL=16h"FREEVER"
  1735. --------U-2D--20-----------------------------
  1736. INT 2D - DTown Utilities v1.40+ - GET POP-UP HANDLER ADDRESS
  1737.     AL = 20h
  1738. Return: AL = FFh if available
  1739.         DX:DI -> DTU popup-handler
  1740. Program: DTown Utilities is a freeware programmer's utility TSR by Jeroen van
  1741.       Disseldorp
  1742. Note:    this function is only available if the extended API has been installed
  1743.       in the resident portion
  1744. SeeAlso: INT 2D/AL=10h"DTown",INT 2D/AL=21h,INT 2D/AL=50h,INT 2D/AL=51h
  1745. SeeAlso: INT 03"DTown"
  1746. --------U-2D--21-----------------------------
  1747. INT 2D - DTown Utilities v1.40+ - POP UP
  1748.     AL = 21h
  1749.     BL = which utility to bring up
  1750.         00h active utility
  1751.         01h help screen
  1752.         0Ah ASCII table
  1753.         0Bh memory view
  1754.         0Ch CPU status
  1755.         0Dh calculator
  1756.         0Eh miscellaneous
  1757.         0Fh file viewer
  1758.         10h disassembler
  1759. Return: AL = status
  1760.         00h already active
  1761.         FFh popped up successfully
  1762.     BX = 0000h
  1763. Note:    this function is only available if the extended API has been installed
  1764.       in the resident portion
  1765. SeeAlso: INT 2D/AL=10h"DTown",INT 2D/AL=20h,INT 2D/AL=50h
  1766. --------U-2D--50-----------------------------
  1767. INT 2D - DTown Utilities v1.40+ - MEMORY VIEW SET ADDRESS
  1768.     AL = 50h
  1769.     CX:DX = new address for start of memory view utility's display
  1770. Note:    this function is only available if the extended API has been installed
  1771.       in the resident portion
  1772. Return: AL = FFh if supported
  1773. SeeAlso: INT 2D/AL=10h"DTown",INT 2D/AL=20h,INT 2D/AL=21h,INT 2D/AL=51h
  1774. --------U-2D--51-----------------------------
  1775. INT 2D - DTown Utilities v1.40+ - MEMORY VIEW SET REFERENCE
  1776.     AL = 51h
  1777.     BL = reference ("bookmark") number
  1778.     CX:DX = new address for reference
  1779. Return: AL = status
  1780.         00h invalid index
  1781.         FFh reference set
  1782. Note:    this function is only available if the extended API has been installed
  1783.       in the resident portion
  1784. Program: DTown Utilities is a shareware programmer's utility TSR by Jeroen van
  1785.       Disseldorp
  1786. SeeAlso: INT 2D/AL=10h"DTown",INT 2D/AL=20h,INT 2D/AL=50h
  1787. --------b-2D--DC-----------------------------
  1788. INT 2D C - DAISY.SYS - BROADCAST: CHAIN RESCANNED
  1789.     AL = DCh
  1790.     AH = AMIS multiplex number for signature 'DAISYCHA' 'INDRIVER'
  1791.     DL = LPT Port Rescanned
  1792. Program: DAISY.SYS is a daisy chain manager for parallel port peripherals
  1793.       conforming to the IEEE 1284.3 Committee's daisy chain specification.
  1794. Desc:    This Broadcast is sent whenever daisy chain IDs are reassigned to
  1795.       warn parallel port device drivers that their daisy chain ID may
  1796.       have been changed.
  1797. Note:    This function is a callout from DAISY.SYS, NOT a call into DAISY.SYS
  1798. SeeAlso: INT 17/AX=0200h"Enhanced Parallel Port",#0550,#2225
  1799. --------l-2E---------------------------------
  1800. INT 2E U - DOS 2+ - PASS COMMAND TO COMMAND INTERPRETER FOR EXECUTION
  1801.     DS:SI -> commandline to execute (see #2240)
  1802. Return: all registers except CS:IP destroyed
  1803.     AX = status (4DOS v4.0)
  1804.        0000h successful
  1805.        FFFFh error before processing command (not enough memory, etc)
  1806.        other error number returned by command
  1807. Notes:    this call allows execution of arbitrary commands (including COMMAND.COM
  1808.       internal commands) without loading another copy of COMMAND.COM
  1809.     if COMMAND.COM is the user's command interpreter, the primary copy
  1810.       executes the command; this allows the master environment to be
  1811.       modified by issuing a "SET" command, but changes in the master
  1812.       environment will not become effective until all programs descended
  1813.       from the primary COMMAND.COM terminate
  1814.     since COMMAND.COM processes the string as if typed from the keyboard,
  1815.       the transient portion needs to be present, and the calling program
  1816.       must ensure that sufficient memory to load the transient portion can
  1817.       be allocated by DOS if necessary
  1818.     results are unpredictable if invoked by a program run from a batch file
  1819.       because this call is not reentrant and COMMAND.COM uses the same
  1820.       internal variables when processing a batch file
  1821.     hooked but ignored by 4DOS v3.0 COMMAND.COM replacement unless SHELL2E
  1822.       has been loaded
  1823.     the MS-DOS 5 Programmer's Reference calls this "Reload Transient"
  1824.  
  1825. Format of DOS commandline:
  1826. Offset    Size    Description    (Table 2240)
  1827.  00h    BYTE    length of command string, not counting trailing CR
  1828.  01h    var    command string
  1829.   N    BYTE    0Dh (CR)
  1830. --------O-2E---------------------------------
  1831. INT 2E UP - Windows NT - NATIVE API
  1832.     EAX = function number
  1833.     EDX = address of parameter block
  1834. Return: ???
  1835. --------l-2E----BXE22E-----------------------
  1836. INT 2E - 4DOS v2.x-3.03 SHELL2E.COM - UNINSTALL
  1837.     BX = E22Eh
  1838.     DS:SI -> zero byte
  1839. Return: if successful, SHELL2E terminates itself with INT 21/AH=4Ch
  1840. ----------2F---------------------------------
  1841. INT 2F - Multiplex - NOTES
  1842.     AH = identifier of program which is to handle the interrupt
  1843.        00h-7Fh reserved for DOS
  1844.        B8h-BFh reserved for networks
  1845.        C0h-FFh reserved for applications
  1846.     AL is the function code
  1847.    This is a general mechanism for verifying the presence of a TSR and
  1848.    communicating with it.  When searching for a free identifier code for AH
  1849.    using the installation check (AL=00h), the calling program should set
  1850.    BX/CX/DX to 0000h and must not depend on any registers other than CS:IP
  1851.    and SS:SP to be valid on return, since numerous programs now use additional
  1852.    registers on input and/or output for the installation check.
  1853. Notes:    Since the multiplex chain is growing so long, and beginning to
  1854.       experience multiplex number collisions, I have proposed an alternate
  1855.       multiplex interrupt on INT 2D.  If you decide to use the alternate
  1856.       multiplex, please let me know.
  1857.     DOS and some other programs return values in the flags register, so
  1858.       any TSR which chains by calling the previous handler rather than
  1859.       jumping to it should ensure that the returned flags are preserved
  1860.       and passed back to the original caller
  1861. SeeAlso: INT 2D"ALTERNATE MULTIPLEX"
  1862. --------t-2F---------------------------------
  1863. INT 2F - BMB Compuscience Canada Utilities Interface - INSTALLATION CHECK
  1864.     AH = xx (dynamically assigned based upon a search for a multiplex
  1865.          number which doesn't answer installed)
  1866.     AL = 00h installation check
  1867.     ES:DI = EBEBh:BEBEh
  1868. Return: AL = 00h not installed
  1869.          01h not installed, not OK to install
  1870.          FFh installed; if ES:DI was EBEBh:BEBEh on entry, ES:DI will point
  1871.          to a string of the form 'MMMMPPPPPPPPvNNNN' where MMMM is a
  1872.          short form of the manufacturer's name, PPPPPPPP is a product
  1873.          name and NNNN is the product's version number
  1874. --------t-2F---------------------------------
  1875. INT 2F - Ross Wentworth's Turbo Pascal POPUP LIBRARY
  1876.     AH = programmer-selected multiplex number
  1877.     AL = function
  1878.         00h installation check
  1879.         Return: AL = FFh if installed
  1880.         01h get TSR interrupt vectors
  1881.         Return: DX:AX -> vector table (see #2241)
  1882.         02h get TSR code segment
  1883.         Return: AX = code segment for all interrupt handlers
  1884.         03h call user exit routine and release TSR's memory
  1885.         04h get signature string
  1886.         Return: DX:AX -> counted string containing signature
  1887.         05h get TSR's INT 2F handler
  1888.         Return: DX:AX -> INT 2F handler
  1889.         06h enable/disable TSR
  1890.         BL = new state (00h disabled, 01h enabled)
  1891.         07h activate TSR (popup if not disabled)
  1892.         08h get hotkeys
  1893.         BL = which hotkey (00h = hotkey 1, 01h = hotkey 2)
  1894.         Return: AX = hotkey (AH = keyflags, AL = scancode)
  1895.         09h set hotkey
  1896.         BL = which hotkey (00h = hotkey 1, 01h = hotkey 2)
  1897.         CX = new hotkey (CH = keyflags, CL = scancode)
  1898.         0Ah-1Fh reserved
  1899. Index:    installation check;Ross Wentworth POPUP library
  1900. Index:    hotkeys;Ross Wentworth POPUP library
  1901.  
  1902. Format of POPUP vector table entry:
  1903. Offset    Size    Description    (Table 2241)
  1904.  00h    BYTE    vector number (00h = end of table)
  1905.  01h    DWORD    original vector
  1906.  05h    WORD    offset of interrupt handler in TSR's code segment
  1907. --------t-2F---------------------------------
  1908. INT 2F - CiriSOFT Spanish University of Valladolid TSR's Interface
  1909.     AH = xx (dynamically assigned based upon a search for a multiplex
  1910.          number from C0h to FFh which doesn't answer installed)
  1911.     AL = 00h installation check
  1912.     ES:DI = 1492h:1992h
  1913. Return: AL = 00h not installed
  1914.          01h not installed, not OK to install
  1915.          FFh installed; and if ES:DI was 1492h:1992h on entry, ES:DI will
  1916.            point to author_name_ver table (see #2242)
  1917.     AH = FFh
  1918. Note:    this interface permits advanced communication with TSRs: it is possible
  1919.       to make a generic uninstall utility, advanced TSR relocator programs
  1920.       in order to fit fragmented memory areas, etc.
  1921. See also: INT 2D"AMIS",INT 2F"Compuscience"
  1922. Index:    installation check;CiriSOFT TSR interface
  1923. Index:    uninstall;CiriSOFT TSR interface
  1924.  
  1925. Format of CiriSOFT author_name_ver table:
  1926. Offset    Size    Description    (Table 2242)
  1927.  -16    WORD    segment of the start of the resident TSR code (CS in programs
  1928.           with PSP, XMS upper memory segment if installed as UMB...)
  1929.  -14    WORD    offset of the start of the resident TSR code (frequently 100h
  1930.           in *.COM programs and 0 in upper memory TSR's).
  1931.  -12    WORD    memory used by TSR (in paragraphs). Knowing the memory area
  1932.           used by TSR is possible to determine if hooked vectors are
  1933.           still pointing it (and if it is safe to uninstall).
  1934.  -10    BYTE    characteristics byte (see #2243)
  1935.  -9    BYTE    number of multiplex entry used (redefinition available). Note
  1936.           that the TSR must use THIS variable in it's INT 2Fh handler.
  1937.  -8    WORD    offset to vector_area table (see #2244)
  1938.  -6    WORD    offset to extra_area table (see #2245,#2243 [bit 7])
  1939.  -4   4 BYTEs    signature string "*##*"
  1940.  00h    var    "AUTHOR:PROGRAM_NAME:VERSION",0     (variable length, this area
  1941.           is used in order to determine if the TSR is already resident
  1942.           and it's version code; the ':' char is used as delimiter)
  1943.  
  1944. Bitfields for CiriSOFT characteristics byte:
  1945. Bit(s)    Description    (Table 2243)
  1946.  0-2    type
  1947.     000 normal program (with PSP)
  1948.     001 upper XMS memory block (needed HIMEM.SYS function to free memory
  1949.           when uninstalling)
  1950.     010 device driver (*.SYS)
  1951.     011 device driver in EXE format
  1952.     1xx others (reserved)
  1953.  3-6    reserved
  1954.  7    set if extra_table defined and supported (see #2245)
  1955. SeeAlso: #2242
  1956.  
  1957. Format of CiriSOFT vector_area table:
  1958. Offset    Size    Description    (Table 2244)
  1959.  -1    BYTE    number of vectors intercepted by TSR
  1960.  00h    BYTE    first vector number
  1961.  01h    DWORD    first vector pointer before installing the TSR
  1962.  05h    BYTE    second vector number
  1963.  06h    DWORD    second vector pointer before installing the TSR
  1964.  0Ah    ...    (and so on)
  1965. Note:    the TSR must use these variables to invoke the previous interrupt
  1966.       handler routines
  1967. SeeAlso: #2242
  1968.  
  1969. Format of extra_area table (needed only to improve relocation feature):
  1970. Offset    Size    Description    (Table 2245)
  1971.  00h    WORD    offset to external_ctrl table (see #2246)
  1972.         0000h if not supported
  1973.  02h    WORD    reserved for future use (0)
  1974. SeeAlso: #2242
  1975.  
  1976. Format of CiriSOFT external_ctrl table:
  1977. Offset    Size    Description    (Table 2246)
  1978.  00h    BYTE    bit 0: TSR is relocatable (no absolute segment references)
  1979.  01h    WORD    offset to a variable which can activate/inhibit the TSR
  1980.  ---And if bit 0 in offset 00h is off:
  1981.  03h    DWORD    pointer to ASCIZ pathname for executable file which supports
  1982.           /SR parameter (silent installation & inhibit)
  1983.  07h    DWORD    pointer to first variable to initialize on the copy reloaded
  1984.           from the previous TSR still resident
  1985.  0Bh    DWORD    pointer to last variable (all variables packed in one block)
  1986. --------c-2F00-------------------------------
  1987. INT 2F U - DOS 2.x only PRINT.COM - SUBMIT FILE FOR PRINTING
  1988.     AH = 00h
  1989.     DS:DX -> opened FCB (see #1000 at INT 21/AX=0Fh)
  1990. Return: AH = number of files currently in print queue
  1991.     AL = status
  1992.         00h file successfully added
  1993.         01h queue is full
  1994.     ES:BX -> print queue (10 FCBs; first byte of FFh indicates unused)
  1995.     ES:DX -> currently-printing FCB (if DX=FFFFh, none printing)
  1996. Notes:    DOS 2.x PRINT.COM does not chain to previous INT 2F handler
  1997.     values in AH other than 00h or 01h cause PRINT to return the number of
  1998.       files in the queue in AH
  1999. SeeAlso: AH=01h"PRINT",AX=0102h
  2000. --------P-2F00-------------------------------
  2001. INT 2F U - PSPRINT - PRINT JOB CONTROL
  2002.     AH = 00h
  2003.     ???
  2004. Return: ???
  2005. --------c-2F0080-----------------------------
  2006. INT 2F - DOS 3.1+ PRINT - GIVE PRINT A TIME SLICE
  2007.     AX = 0080h
  2008. Return: after PRINT executes
  2009. Notes:    PRINT returns AL=01h if AH=00h but AL is not 80h on entry
  2010.     this function is not supported by the Novell DOS 7 PRINT.COM
  2011. --------N-2F00D8-----------------------------
  2012. INT 2F - Personal NetWare - VLM - ???
  2013.     AX = 00D8h
  2014.     ???
  2015. Return: ???
  2016. Note:    hooked by one of the .VLMs loaded by VLM.EXE v1.10, but apparently a
  2017.       NOP
  2018. --------c-2F01-------------------------------
  2019. INT 2F U - DOS 2.x only PRINT.COM - REMOVE FILE FROM PRINT QUEUE
  2020.     AH = 01h
  2021.     DS:DX -> FCB (see #1000 at INT 21/AH=0Fh) for file to be canceled
  2022. Return: AH = number of files currently in print queue
  2023.     AL = 00h (successful)
  2024.     ES:BX -> print queue (10 FCBs; first byte of FFh indicates unused)
  2025.     ES:DX -> currently-printing FCB (if DX=FFFFh, none printing)
  2026. Notes:    DOS 2.x PRINT.COM does not chain to previous INT 2F handler
  2027.     values in AH other than 00h or 01h cause PRINT to return the number of
  2028.       files in the queue in AH
  2029. SeeAlso: AH=00h"PRINT.COM",AX=0103h
  2030. --------c-2F0100-----------------------------
  2031. INT 2F - DOS 3.0+ PRINT - INSTALLATION CHECK
  2032.     AX = 0100h
  2033. Return: AL = status
  2034.         00h not installed
  2035.         01h not installed, but not OK to install
  2036.         FFh installed
  2037.         AH = 00h (Novell DOS 7)
  2038. SeeAlso: AX=0101h
  2039. --------c-2F0100SI20D6-----------------------
  2040. INT 2F U - PrintCache 3.1 PRINT.COM - INSTALLATION CHECK
  2041.     AX = 0100h
  2042.     SI = 20D6h
  2043.     DI = 8761h
  2044. Return: AX = 00FFh if installed
  2045.     DI = 0001h if PrintCache's PRINT.COM installed and magic values match
  2046.         SI = resident code segment
  2047. Program: PrintCache PRINT.COM is a DOS PRINT replacement included in
  2048.       LaserTools' PrintCache memory/disk-based print spooler package
  2049. Note:    if either of SI or DI differ from the indicated magic values, only AX
  2050.       will be modified on return, for compatibility with DOS PRINT
  2051. SeeAlso: AX=0101h/SI=20D6h,AX=C000h"PCACHE"
  2052. --------c-2F0101-----------------------------
  2053. INT 2F - DOS 3.0+ PRINT - SUBMIT FILE FOR PRINTING
  2054.     AX = 0101h
  2055.     DS:DX -> submit packet (see #2247)
  2056. Return: CF clear if successful
  2057.         AL = status
  2058.         01h added to queue
  2059.         9Eh now printing
  2060.     CF set on error
  2061.         AX = error code (see #2248,#1332 at INT 21/AH=59h/BX=0000h)
  2062. SeeAlso: AX=0102h
  2063.  
  2064. Format of PRINT submit packet:
  2065. Offset    Size    Description    (Table 2247)
  2066.  00h    BYTE    level (must be 00h)
  2067.  01h    DWORD    pointer to ASCIZ filename (no wildcards)
  2068.  
  2069. (Table 2248)
  2070. Values for PRINT error code:
  2071.  0001h    invalid function
  2072.  0002h    file not found
  2073.  0003h    path not found
  2074.  0004h    out of file handles
  2075.  0005h    access denied
  2076.  0008h    print queue full
  2077.  0009h    spooler busy
  2078.  000Ch    name too long
  2079.  000Fh    invalid drive
  2080. --------c-2F0101SI20D6-----------------------
  2081. INT 2F U - PrintCache v3.1 PRINT.COM - SUBMIT FILE FOR PRINTING
  2082.     AX = 0101h
  2083.     SI = 20D6h
  2084.     DI = 8761h
  2085.     DS:DX -> submit packet (see #2247)
  2086.     CL = print options
  2087.         bit 4: use default options
  2088. Return: CF clear if successful
  2089.         AL = status
  2090.         01h added to queue
  2091.         9Eh now printing
  2092.     CF set on error
  2093.         AX = error code (see #2248)
  2094. Program: PrintCache PRINT.COM is a DOS PRINT replacement included in
  2095.       LaserTools' PrintCache memory/disk-based print spooler package
  2096. Note:    if either SI or DI differs from the indicated magic values on entry,
  2097.       PrintCache will use the default print options for the file for
  2098.       compatibility with DOS PRINT
  2099. SeeAlso: AX=0100h/SI=20D6h,AX=0101h,AH=00h"PRINT",AX=0107h"PrintCache"
  2100. --------c-2F0102-----------------------------
  2101. INT 2F - DOS 3.0+ PRINT - REMOVE FILE FROM PRINT QUEUE
  2102.     AX = 0102h
  2103.     DS:DX -> ASCIZ filename (wildcards allowed)
  2104. Return: CF clear if successful
  2105.     CF set on error
  2106.         AX = error code (see #2248)
  2107. SeeAlso: AX=0101h,AX=0103h,AH=01h"PRINT"
  2108. --------c-2F0103-----------------------------
  2109. INT 2F - DOS 3.0+ PRINT - CANCEL ALL FILES IN PRINT QUEUE
  2110.     AX = 0103h
  2111. Return: CF clear if successful
  2112.     CF set on error
  2113.         AX = error code (see #2248)
  2114. SeeAlso: AX=0102h
  2115. --------c-2F0104-----------------------------
  2116. INT 2F - DOS 3.0+ PRINT - FREEZE PRINT QUEUE TO READ JOB STATUS
  2117.     AX = 0104h
  2118. Return: CF clear if successful
  2119.         DX = error count since status last read
  2120.         DS:SI -> print queue
  2121.     CF set on error
  2122.         AX = error code (see #2248)
  2123. Desc:    get the list of print jobs, temporarily suspending PRINT's activities
  2124.       to avoid changing the list while it is being examined
  2125. Notes:    the print queue is an array of 64-byte ASCIZ filenames terminated by
  2126.       an empty filename; the first name is the file currently being printed
  2127.     printing is stopped until AX=0105h is called to prevent the queue
  2128.       from changing while the filenames are being read
  2129. SeeAlso: AX=0101h,AX=0105h
  2130. --------c-2F0105-----------------------------
  2131. INT 2F - DOS 3.0+ PRINT - RESTART PRINT QUEUE AFTER STATUS READ
  2132.     AX = 0105h
  2133. Return: CF clear if successful
  2134.     CF set on error
  2135.         AX = error code (see #2248)
  2136. Desc:    restart PRINT's activities once an application finishes examining the
  2137.       print queue
  2138. SeeAlso: AX=0104h
  2139. --------c-2F0106-----------------------------
  2140. INT 2F - DOS 3.3+ PRINT - GET PRINTER DEVICE
  2141.     AX = 0106h
  2142. Return: CF set if files in print queue
  2143.         AX = error code 0008h (queue full)
  2144.         DS:SI -> device driver header (see #1298)
  2145.     CF clear if print queue empty
  2146.         AX = 0000h
  2147. Desc:    determine which device, if any, PRINT is currently using for output
  2148. Notes:    undocumented prior to the release of MS-DOS 5.0
  2149.     this function can be used to allow a program to avoid printing to the
  2150.       printer on which PRINT is currently performing output
  2151. SeeAlso: AX=0104h
  2152. --------c-2F0107-----------------------------
  2153. INT 2F U - PrintCache v3.1 PRINT.COM - SET TRAILING FORM FEEDS
  2154.     AX = 0107h
  2155.     CL bit 0: output form feed between print jobs
  2156. Return: AL destroyed
  2157. SeeAlso: AX=0100h/SI=20D6h,AX=0101h/SI=20D6h
  2158. --------N-2F0200-----------------------------
  2159. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - INSTALLATION CHECK
  2160.     AX = 0200h
  2161. Return: AL = FFh if installed
  2162. Desc:    determine whether the PC LAN Program redirector is installed
  2163. SeeAlso: AX=0201h,AX=0203h
  2164. --------N-2F0201-----------------------------
  2165. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  2166.     AX = 0201h
  2167. Return: nothing???
  2168. Notes:    this function is called by the DOS 3.3+ PRINT.COM
  2169.     AX=0202h appears to be the opposite function
  2170.     these functions are supposedly used to signal opening and closing of
  2171.       printers
  2172. SeeAlso: AX=0202h
  2173. --------N-2F0202-----------------------------
  2174. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  2175.     AX = 0202h
  2176.     ???
  2177. Return: nothing???
  2178. Notes:    this function is called by the DOS 3.3+ PRINT.COM
  2179.     these functions are supposedly used to signal opening and closing of
  2180.       printers
  2181. SeeAlso: AX=0201h
  2182. --------N-2F0203-----------------------------
  2183. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  2184.     AX = 0203h
  2185. Return: nothing???
  2186. Notes:    this function is called by the DOS 3.3+ PRINT.COM
  2187.     AX=0204h appears to be the opposite function
  2188.     these functions are supposedly used to signal opening and closing of
  2189.       printers
  2190. SeeAlso: AX=0200h,AX=0204h
  2191. --------N-2F0204-----------------------------
  2192. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  2193.     AX = 0204h
  2194.     ???
  2195. Return: nothing???
  2196. Notes:    this function is called by the DOS 3.3+ PRINT.COM
  2197.     AX=0203h appears to be the opposite function
  2198.     these functions are supposedly used to signal opening and closing of
  2199.       printers
  2200. SeeAlso: AX=0200h,AX=0203h
  2201. --------N-2F---------------------------------
  2202. INT 2F U - PC LAN PROGRAM REDIR/REDIRIFS internal - ???
  2203.     AX = 02xxh
  2204.     ???
  2205. Return: ???
  2206. --------l-2F0500-----------------------------
  2207. INT 2F U - DOS 3.0+ CRITICAL ERROR HANDLER - INSTALLATION CHECK
  2208.     AX = 0500h
  2209. Return: AL = 00h not installed, OK to install
  2210.          01h not installed, can't install
  2211.          FFh installed
  2212. Desc:    determine whether a critical error message override is installed
  2213. Note:    this set of functions allows a user program to partially or completely
  2214.       override the default critical error handler's message in COMMAND.COM
  2215. SeeAlso: AH=05h,INT 24
  2216. --------l-2F05-------------------------------
  2217. INT 2F CU - DOS 3.0+ CRITICAL ERROR HANDLER - EXPAND ERROR INTO STRING
  2218.     AH = 05h
  2219. ---DOS 3.x---
  2220.     AL = extended error code (not zero)
  2221. ---DOS 4.0+ ---
  2222.     AL = error type
  2223.         01h DOS extended error code
  2224.         02h parameter error
  2225.     BX = error code
  2226. Return: CF clear if successful
  2227.         ES:DI -> ASCIZ error message (read-only)
  2228.         AL = completion state
  2229.         00h message requires completion with device name, drive, etc.
  2230.         01h message is complete as returned
  2231.     CF set if error code can't be converted to string
  2232.         AX,DI,ES destroyed
  2233.     other flags corrupted
  2234. Notes:    called at start of COMMAND.COM's default critical error handler if
  2235.       installed by a user program, allowing partial or complete overriding
  2236.       of the default error messages
  2237.     subfunction 02h is called by many DOS 4 external programs
  2238.     DR DOS's COMMAND.COM appends additional info ("0 files copied") to the
  2239.       returned string
  2240. SeeAlso: AX=0500h,AX=122Eh,INT 24
  2241. --------U-2F0600-----------------------------
  2242. INT 2F - DOS 3.0+ ASSIGN - INSTALLATION CHECK
  2243.     AX = 0600h
  2244. Return: AL = status
  2245.         00h not installed
  2246.         01h not installed, but not OK to install
  2247.         FFh installed
  2248. Notes:    ASSIGN is not a TSR in DR DOS 5.0; it is internally replaced by SUBST
  2249.       (see INT 21/AH=52h)
  2250.     undocumented prior to the release of DOS 5.0
  2251. SeeAlso: AX=0601h,INT 21/AH=52h
  2252. --------U-2F0601-----------------------------
  2253. INT 2F U - DOS 3.0+ ASSIGN - GET DRIVE ASSIGNMENT TABLE
  2254.     AX = 0601h
  2255. Return: ES = segment of ASSIGN work area and assignment table
  2256. Note:    the 26 bytes starting at ES:0103h specify which drive each of A: to Z:
  2257.       is mapped to.     Initially set to 01h 02h 03h....
  2258. SeeAlso: AX=0600h,AX=AF14h"WinDOS"
  2259. --------D-2F0800-----------------------------
  2260. INT 2F U - DRIVER.SYS support - INSTALLATION CHECK
  2261.     AX = 0800h
  2262. Return: AL = status
  2263.         00h not installed, OK to install
  2264.         01h not installed, not OK to install
  2265.         FFh installed
  2266. Desc:    determine whether the internal support code used by DRIVER.SYS is
  2267.       present; it is always present in DOS 3.2+
  2268. Note:    supported by DR DOS 5.0 and Novell DOS 7
  2269. --------D-2F0801-----------------------------
  2270. INT 2F U - DRIVER.SYS support - ADD NEW BLOCK DEVICE
  2271.     AX = 0801h
  2272.     DS:DI -> drive data table (see #2255,#2256,#2257)
  2273. Return: AX,BX,SI,ES destroyed
  2274. Notes:    moves down internal list of drive data tables, copying and modifying
  2275.       the drive description flags word for tables referencing same physical
  2276.       drive
  2277.     the data table is appended to the chain of tables
  2278.     supported by DR DOS 5.0 and Novell DOS 7
  2279. SeeAlso: AX=0803h
  2280. --------D-2F0802-----------------------------
  2281. INT 2F U - DRIVER.SYS support - EXECUTE DEVICE DRIVER REQUEST
  2282.     AX = 0802h
  2283.     ES:BX -> device driver request header (see #2251)
  2284. Return: request header updated as per requested operation
  2285.     STACK:    WORD    original flags from INT call (left by RETF in device
  2286.               driver, at least in DOS 5.0-6.22)
  2287. Notes:    supported by DR DOS 5.0
  2288.     DOS 3.2 executes this function on any AL value from 02h through F7h;
  2289.       DOS 4.0+ executes this function on AL=02h and AL=04h-F7h
  2290.     the command codes (see #2249) and structures described below apply
  2291.       to all drivers which support the appropriate commands; this call is
  2292.       just one of a number of ways in which a device driver request may
  2293.       be invoked
  2294.     supported by Novell DOS 7
  2295. SeeAlso: AX=0800h,AX=0801h,AX=0803h,AX=1510h,INT 21/AH=52h,INT 21/AH=99h
  2296. SeeAlso: INT 21/AH=9Ah
  2297.  
  2298. (Table 2249)
  2299. Values for device driver command code:
  2300.  00h    INIT
  2301.  01h    MEDIA CHECK (block devices)
  2302.  02h    BUILD BPB (block devices)
  2303.  03h    IOCTL INPUT
  2304.  04h    INPUT
  2305.  05h    NONDESTRUCTIVE INPUT, NO WAIT (character devices)
  2306.  06h    INPUT STATUS (character devices)
  2307.  07h    INPUT FLUSH (character devices)
  2308.  08h    OUTPUT
  2309.  09h    OUTPUT WITH VERIFY
  2310.  0Ah    OUTPUT STATUS (character devices)
  2311.  0Bh    OUTPUT FLUSH (character devices)
  2312.  0Ch    IOCTL OUTPUT
  2313.  0Dh    (DOS 3.0+) DEVICE OPEN
  2314.  0Eh    (DOS 3.0+) DEVICE CLOSE
  2315.  0Fh    (DOS 3.0+) REMOVABLE MEDIA (block devices)
  2316.  10h    (DOS 3.0+) OUTPUT UNTIL BUSY (character devices)
  2317.  11h    (European MS-DOS 4.0) STOP OUTPUT (console screen drivers only)
  2318.  12h    (European MS-DOS 4.0) RESTART OUTPUT (console screen drivers only)
  2319.  13h    (DOS 3.2+) GENERIC IOCTL
  2320.  14h    unused
  2321.  15h    (European MS-DOS 4.0) RESET UNCERTAIN MEDIA FLAG
  2322.  16h    unused
  2323.  17h    (DOS 3.2+) GET LOGICAL DEVICE
  2324.  18h    (DOS 3.2+) SET LOGICAL DEVICE
  2325.  19h    (DOS 5.0+) CHECK GENERIC IOCTL SUPPORT
  2326.  80h    (CD-ROM) READ LONG
  2327.  81h    (CD-ROM) reserved
  2328.  82h    (CD-ROM) READ LONG PREFETCH
  2329.  83h    (CD-ROM) SEEK
  2330.  84h    (CD-ROM) PLAY AUDIO
  2331.  85h    (CD-ROM) STOP AUDIO
  2332.  86h    (CD-ROM) WRITE LONG
  2333.  87h    (CD-ROM) WRITE LONG VERIFY
  2334.  88h    (CD-ROM) RESUME AUDIO
  2335.  
  2336. Bitfields for device request status:
  2337. Bit(s)    Description    (Table 2250)
  2338.  15    error
  2339.  14-11    reserved
  2340.  10    ??? set by DOS kernel on entry to some driver calls
  2341.  9    busy
  2342.  8    done (may be clear on return under European MS-DOS 4.0)
  2343.  7-0    error code if bit 15 set (see #2252)
  2344.  
  2345. Format of device driver request header:
  2346. Offset    Size    Description    (Table 2251)
  2347.  00h    BYTE    length of request header
  2348.  01h    BYTE    subunit within device driver
  2349.  02h    BYTE    command code (see #2249)
  2350.  03h    WORD    status (filled in by device driver) (see #2250)
  2351. ---DOS---
  2352.  05h  4 BYTEs    reserved (unused in DOS 2.x and 3.x)
  2353.  09h    DWORD    (European MS-DOS 4.0 only) pointer to next request header in
  2354.               device's request queue
  2355.         (other versions) reserved (unused in DOS 2.x and 3.x)
  2356. ---STARLITE architecture---
  2357.  05h    DWORD    pointer to next request header
  2358.  09h  4 BYTEs    reserved
  2359. ---command code 00h---
  2360.  0Dh    BYTE    (ret) number of units
  2361.  0Eh    DWORD    (call) pointer to DOS device helper function (see #2253)
  2362.               (European MS-DOS 4.0 only)
  2363.         (call) pointer past end of memory available to driver (DOS 5+)
  2364.         (ret) address of first free byte following driver
  2365.  12h    DWORD    (call) pointer to commandline arguments
  2366.         (ret) pointer to BPB array (block drivers) or
  2367.               0000h:0000h (character drivers)
  2368.  16h    BYTE    (DOS 3.0+) drive number for first unit of block driver (0=A)
  2369.    ---European MS-DOS 4.0---
  2370.  17h    DWORD    pointer to function to save registers on stack
  2371.    ---DOS 5+ ---
  2372.  17h    WORD    (ret) error-message flag
  2373.         0001h MS-DOS should display error msg on init failure
  2374. ---command code 01h---
  2375.  0Dh    BYTE    media descriptor
  2376.  0Eh    BYTE    (ret) media status
  2377.         00h don't know
  2378.         01h media has not changed
  2379.         FFh media has been changed
  2380.  0Fh    DWORD    (ret, DOS 3.0+) pointer to previous volume ID if the
  2381.           OPEN/CLOSE/RM bit in device header is set and disk changed
  2382. ---command code 02h---
  2383.  0Dh    BYTE    media descriptor
  2384.  0Eh    DWORD    transfer address
  2385.         -> scratch sector if NON-IBM FORMAT bit in device header set
  2386.         -> first FAT sector otherwise
  2387.  12h    DWORD    pointer to BPB (set by driver) (see #1315 at INT 21/AH=53h)
  2388. ---command codes 03h,0Ch---
  2389.           (see also INT 21/AX=4402h"DOS 2+",INT 21/AX=4403h"DOS")
  2390.  0Dh    BYTE    media descriptor (block devices only)
  2391.  0Eh    DWORD    transfer address
  2392.  12h    WORD    (call) number of bytes to read/write
  2393.         (ret) actual number of bytes read or written
  2394. ---command codes 04h,08h,09h (except Compaq DOS 3.31, DR DOS 6)---
  2395.  0Dh    BYTE    media descriptor (block devices only)
  2396.  0Eh    DWORD    transfer address
  2397.  12h    WORD    byte count (character devices) or sector count (block devices)
  2398.  14h    WORD    starting sector number (block devices only)
  2399.  16h    DWORD    (DOS 3.0+) pointer to volume ID if error 0Fh returned
  2400.  1Ah    DWORD    (DOS 4.0+) 32-bit starting sector number (block devices with
  2401.           device attribute word bit 1 set only) if starting sector
  2402.           number above is FFFFh (see INT 21/AH=52h)
  2403. ---command codes 04h,08h,09h (Compaq DOS 3.31, DR DOS 6)---
  2404.  0Dh    BYTE    media descriptor (block devices only)
  2405.  0Eh    DWORD    transfer address
  2406.  12h    WORD    byte count (character devices) or sector count (block devices)
  2407.  14h    DWORD    32-bit starting sector number (block devices only)
  2408.     Note:    to reliably determine which variant of the request block for
  2409.           functions 04h,08h,09h has been passed to the driver, check
  2410.           the length field as well as the word at offset 14h.  If the
  2411.           length is 1Eh and 14h=FFFFh, use the DWORD at 1Ah as the
  2412.           starting sector number; if the length is 18h, use the DWORD
  2413.           at 14h; otherwise, use the WORD at 14h.
  2414. ---command code 05h---
  2415.  0Dh    BYTE    byte read from device if BUSY bit clear on return
  2416. ---command codes 06h,07h,0Ah,0Bh,0Dh,0Eh,0Fh---
  2417.  no further fields
  2418. ---command code 10h---
  2419.  0Dh    BYTE    unused
  2420.  0Eh    DWORD    transfer address
  2421.  12h    WORD    (call) number of bytes to write
  2422.         (ret) actual number of bytes written
  2423. ---command codes 11h,12h---
  2424.  0Dh    BYTE    reserved
  2425. ---command code 15h---
  2426.  no further fields
  2427. ---command codes 13h,19h---
  2428.  0Dh    BYTE    category code
  2429.         00h unknown
  2430.         01h COMn:
  2431.         03h CON
  2432.         05h LPTn:
  2433.         07h mouse (European MS-DOS 4.0)
  2434.         08h disk
  2435.         9Eh (STARLITE) Media Access Control driver
  2436.  0Eh    BYTE    function code
  2437.         00h (STARLITE) MAC Bind request
  2438.  0Fh    WORD    copy of DS at time of IOCTL call (apparently unused in DOS 3.3)
  2439.         SI contents (European MS-DOS 4.0)
  2440.  11h    WORD    offset of device driver header (see #1298)
  2441.         DI contents (European MS-DOS 4.0)
  2442.  13h    DWORD    pointer to parameter block from INT 21/AX=440Ch or AX=440Dh
  2443. ---command codes 80h,82h---
  2444.  0Dh    BYTE    addressing mode
  2445.         00h HSG (default)
  2446.         01h Phillips/Sony Red Book
  2447.  0Eh    DWORD    transfer address (ignored for command 82h)
  2448.  12h    WORD    number of sectors to read
  2449.         (if 0 for command 82h, request is an advisory seek)
  2450.  14h    DWORD    starting sector number
  2451.         logical sector number in HSG mode
  2452.         frame/second/minute/unused in Red Book mode
  2453.         (HSG sector = minute * 4500 + second * 75 + frame - 150)
  2454.  18h    BYTE    data read mode
  2455.         00h cooked (2048 bytes per frame)
  2456.         01h raw (2352 bytes per frame, including EDC/ECC)
  2457.  19h    BYTE    interleave size (number of sectors stored consecutively)
  2458.  1Ah    BYTE    interleave skip factor
  2459.         (number of sectors between consecutive portions)
  2460. ---command code 83h---
  2461.  0Dh    BYTE    addressing mode
  2462.         00h HSG (default)
  2463.         01h Phillips/Sony Red Book
  2464.  0Eh    DWORD    transfer address (ignored)
  2465.  12h    WORD    number of sectors to read (ignored)
  2466.  14h    DWORD    starting sector number (see also above)
  2467. ---command code 84h---
  2468.  0Dh    BYTE    addressing mode
  2469.         00h HSG (default)
  2470.         01h Phillips/Sony Red Book
  2471.  0Eh    DWORD    starting sector number (see also above)
  2472.  12h    DWORD    number of sectors to play
  2473. ---command codes 85h,88h---
  2474.  no further fields
  2475. ---command codes 86h,87h---
  2476.  0Dh    BYTE    addressing mode
  2477.         00h HSG (default)
  2478.         01h Phillips/Sony Red Book
  2479.  0Eh    DWORD    transfer address (ignored in write mode 0)
  2480.  12h    WORD    number of sectors to write
  2481.  14h    DWORD    starting sector number (also see above)
  2482.  18h    BYTE    write mode
  2483.         00h mode 0 (write all zeros)
  2484.         01h mode 1 (default) (2048 bytes per sector)
  2485.         02h mode 2 form 1 (2048 bytes per sector)
  2486.         03h mode 2 form 2 (2336 bytes per sector)
  2487.  19h    BYTE    interleave size (number of sectors stored consecutively)
  2488.  1Ah    BYTE    interleave skip factor
  2489.         (number of sectors between consecutive portions)
  2490.  
  2491. (Table 2252)
  2492. Values for device driver error code:
  2493.  00h    write-protect violation
  2494.  01h    unknown unit
  2495.  02h    drive not ready
  2496.  03h    unknown command
  2497.  04h    CRC error
  2498.  05h    bad drive request structure length
  2499.  06h    seek error
  2500.  07h    unknown media
  2501.  08h    sector not found
  2502.  09h    printer out of paper
  2503.  0Ah    write fault
  2504.  0Bh    read fault
  2505.  0Ch    general failure
  2506.  0Dh    reserved
  2507.  0Eh    (CD-ROM) media unavailable
  2508.  0Fh    invalid disk change
  2509.  
  2510. (Table 2253)
  2511. Call European MS-DOS 4.0 device helper function with:
  2512.     DL = function
  2513.         00h "SchedClock" called on each timer tick
  2514.         AL = tick interval in milliseconds
  2515.         01h "DevDone" device I/O complete
  2516.         ES:BX -> request header
  2517.         Note:    must update status word first; may be called from
  2518.               an interrupt handler
  2519.         02h "PullRequest" pull next request from queue
  2520.         DS:SI -> DWORD pointer to start of device's request queue
  2521.         Return: ZF clear if pending request
  2522.                 ES:BX -> request header
  2523.             ZF set if no more requests
  2524.         03h "PullParticular" remove specific request from queue
  2525.         DS:SI -> DWORD pointer to start of device's request queue
  2526.         ES:BX -> request header
  2527.         Return: ZF set if request header not found
  2528.         04h "PushRequest" push the request onto the queue
  2529.         DS:SI -> DWORD pointer to start of device's request queue
  2530.         ES:BX -> request header
  2531.         interrupts disabled
  2532.         05h "ConsInputFilter" keyboard input check
  2533.         AX = character (high byte 00h if PC ASCII character)
  2534.         Return: ZF set if character should be discarded
  2535.             ZF clear if character should be handled normally
  2536.         Note:    called by keyboard interrupt handler so DOS can scan
  2537.               for special input characters
  2538.         06h "SortRequest" push request in sorted order by starting sector
  2539.         DS:SI -> DWORD pointer to start of device's request queue
  2540.         ES:BX -> request header
  2541.         interrupts disabled
  2542.         07h "SigEvent" send signal on keyboard event
  2543.         AH = event identifier
  2544.         Return: AL,FLAGS destroyed
  2545.         09h "ProcBlock" block on event
  2546.         AX:BX = event identifier (typically a pointer)
  2547.         CX = timeout in ms or 0000h for never
  2548.         DH = interruptable flag (nonzero if pause may be interrupted)
  2549.         interrupts disabled
  2550.         Return: after corresponding ProcRun call
  2551.             CF clear if event wakeup, set if unusual wakeup
  2552.             ZF set if timeout wakeup, clear if interrupted
  2553.             AL = wakeup code, nonzero if unusual wakeup
  2554.             interrupts enabled
  2555.             BX,CX,DX destroyed
  2556.         Note:    block process and schedules another to run
  2557.         0Ah "ProcRun" unblock process
  2558.         AX:BX = event identifier (typically a pointer)
  2559.         Return: AX = number of processes awakened
  2560.             ZF set if no processes awakened
  2561.             BX,CX,DX destroyed
  2562.         0Bh "QueueInit" initialize/clear character queue
  2563.         DS:BX -> character queue structure (see #2254)
  2564.         Note:    the queue size field must be set before calling
  2565.         0Dh "QueueWrite" put a character in the queue
  2566.         DS:BX -> character queue (see #2254)
  2567.         AL = character to append to end of queue
  2568.         Return: ZF set if queue is full
  2569.             ZF clear if character stored
  2570.         0Eh "QueueRead" get a character from the queue
  2571.         DS:BX -> character queue (see #2254)
  2572.         Return: ZF set if queue is empty
  2573.             ZF clear if characters in queue
  2574.                 AL = first character in queue
  2575.         10h "GetDOSVar" return pointer to DOS variable
  2576.         AL = index of variable
  2577.             03h current process ID
  2578.         BX = index into variable if AL specifies an array
  2579.         CX = expected length of variable
  2580.         Return: CF clear if successful
  2581.                 DX:AX -> variable
  2582.             CF set on error
  2583.                 AX,DX destroyed
  2584.             BX,CX destroyed
  2585.         Note:    the variables may not be modified
  2586.         14h "Yield" yield CPU if higher-priority task ready to run
  2587.         Return: FLAGS destroyed
  2588.         1Bh "CritEnter" begin system critical section
  2589.         DS:BX -> semaphore (6 BYTEs, initialized to zero)
  2590.         Return: AX,BX,CX,DX destroyed
  2591.         1Ch "CritLeave" end system critical section
  2592.         DS:BX -> semaphore (6 BYTEs, initialized to zero)
  2593.         Return: AX,BX,CX,DX destroyed
  2594.         Note:    must be called in the context of the process which
  2595.               called CritEnter on the semaphore
  2596. Note:    the DWORD pointing at the request queue must be allocated by the driver
  2597.       and initialized to 0000h:0000h.  It always points at the next request
  2598.       to be executed
  2599.  
  2600. Format of European MS-DOS 4.0 character queue:
  2601. Offset    Size    Description    (Table 2254)
  2602.  00h    WORD    size of queue in bytes
  2603.  02h    WORD    index of next character out
  2604.  04h    WORD    count of characters in the queue
  2605.  06h  N BYTEs    queue buffer
  2606. --------D-2F0803-----------------------------
  2607. INT 2F U - DOS 4.0+ DRIVER.SYS support - GET DRIVE DATA TABLE LIST
  2608.     AX = 0803h
  2609. Return: DS:DI -> first drive data table in list (see #2255,#2256,#2257)
  2610. Note:    not available under DR DOS 5.0, but supported by Novell DOS 7 (using
  2611.       the MS-DOS 4+ data table format)
  2612. SeeAlso: AX=0801h
  2613.  
  2614. Format of DOS 3.30 drive data table:
  2615. Offset    Size    Description    (Table 2255)
  2616.  00h    DWORD    pointer to next table (offset FFFFh if last table)
  2617.  04h    BYTE    physical unit number (for INT 13)
  2618.  05h    BYTE    logical drive number (0=A:)
  2619.  06h 19 BYTEs    BIOS Parameter Block (see also INT 21/AH=53h)
  2620.         Offset    Size    Description
  2621.          00h    WORD    bytes per sector
  2622.          02h    BYTE    sectors per cluster, FFh if unknown
  2623.          03h    WORD    number of reserved sectors
  2624.          05h    BYTE    number of FATs
  2625.          06h    WORD    number of root dir entries
  2626.          08h    WORD    total sectors
  2627.          0Ah    BYTE    media descriptor, 00h if unknown
  2628.          0Bh    WORD    sectors per FAT
  2629.          0Dh    WORD    sectors per track
  2630.          0Fh    WORD    number of heads
  2631.          11h    WORD    number of hidden sectors
  2632.  19h    BYTE    flags
  2633.         bit 6: 16-bit FAT instead of 12-bit FAT
  2634.  1Ah    WORD    number of DEVICE OPEN calls without corresponding DEVICE CLOSE
  2635.  1Ch 11 BYTEs    volume label or "NO NAME    " if none (always "NO NAME" for
  2636.           fixed media)
  2637.  27h    BYTE    terminating null for volume label???
  2638.  28h    BYTE    device type (see #1214 at INT 21/AX=440Dh"DOS 3.2+")
  2639.  29h    WORD    bit flags describing drive (see #2258)
  2640.  2Bh    WORD    number of cylinders
  2641.  2Dh 19 BYTEs    BIOS Parameter Block for highest capacity supported
  2642.  40h  3 BYTEs    ???
  2643.  43h  9 BYTEs    filesystem type???, default = "NO NAME    "
  2644.         (apparently only MS-DOS 3.30 fixed media, nulls for removable
  2645.           media and PC-DOS 3.30)
  2646.  4Ch    BYTE    least-significant byte of last-accessed cylinder number
  2647. ---removable media---
  2648.  4Dh    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  2649. ---fixed media---
  2650.  4Dh    WORD    partition (FFFFh = primary, 0001h = extended)
  2651.  4Fh    WORD    absolute cylinder number of partition's start on physical
  2652.           drive (always FFFFh if primary partition)
  2653. SeeAlso: #2256,#2257
  2654.  
  2655. Format of COMPAQ DOS 3.31 drive data table:
  2656. Offset    Size    Description    (Table 2256)
  2657.  00h    DWORD    pointer to next table (offset FFFFh if last table)
  2658.  04h    BYTE    physical unit number (for INT 13)
  2659.  05h    BYTE    logical drive number (0=A:)
  2660.  06h 25 BYTEs    BIOS Parameter Block (see #2257)
  2661.  1Fh  6 BYTEs    reserved fields from BPB above???
  2662.  25h    BYTE    flags
  2663.         bit 6: 16-bit FAT instead of 12-bit FAT
  2664.         bit 5: large volume???
  2665.  26h    WORD    device-open count???
  2666.  28h 11 BYTEs    volume label or "NO NAME    " if none (always "NO NAME" for
  2667.           fixed media)
  2668.  33h    BYTE    terminating null for volume label
  2669.  34h    BYTE    device type (see #1214 at INT 21/AX=440Dh"DOS 3.2+")
  2670.  35h    WORD    bit flags describing drive (see #2258)
  2671.  37h    WORD    number of cylinders
  2672.  39h 25 BYTEs    BIOS parameter block for highest capacity drive supports
  2673.  52h  6 BYTEs    ??? apparently always zeros
  2674.  58h    BYTE    least-significant byte of last-accessed cylinder number
  2675. ---removable media---
  2676.  59h    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  2677. ---fixed media---
  2678.  59h    WORD    partition (FFFFh = primary, 0001h = extended)
  2679.  5Bh    WORD    absolute cylinder number of partition's start on physical
  2680.           drive (always FFFFh if primary partition)
  2681. SeeAlso: #2255,#2257
  2682.  
  2683. Format of DOS 4.0-7.0 drive data table:
  2684. Offset    Size    Description    (Table 2257)
  2685.  00h    DWORD    pointer to next table (offset FFFFh if last table)
  2686.  04h    BYTE    physical unit number (for INT 13)
  2687.  05h    BYTE    logical drive number (0=A:)
  2688.  06h 25 BYTEs    BIOS Parameter Block (see also INT 21/AH=53h)
  2689.         Offset    Size    Description
  2690.          00h    WORD    bytes per sector
  2691.          02h    BYTE    sectors per cluster, FFh if unknown
  2692.          03h    WORD    number of reserved sectors
  2693.          05h    BYTE    number of FATs
  2694.          06h    WORD    number of root dir entries
  2695.          08h    WORD    total sectors (refer to offset 15h if zero)
  2696.          0Ah    BYTE    media descriptor, 00h if unknown
  2697.          0Bh    WORD    sectors per FAT
  2698.          0Dh    WORD    sectors per track
  2699.          0Fh    WORD    number of heads
  2700.          11h    DWORD    number of hidden sectors
  2701.          15h    DWORD    total sectors if WORD at 08h is zero
  2702.  1Fh    BYTE    flags
  2703.         bit 6: 16-bit FAT instead of 12-bit
  2704.         bit 7: unsupportable disk (all accesses will return Not Ready)
  2705.  20h    WORD    device-open count
  2706.  22h    BYTE    device type (see #1214 at INT 21/AX=440Dh"DOS 3.2+")
  2707.  23h    WORD    bit flags describing drive (see #2258)
  2708.  25h    WORD    number of cylinders (for partition only, if hard disk)
  2709.  27h 25 BYTEs    BIOS Parameter Block for default (highest) capacity supported
  2710.  40h  6 BYTEs    reserved (part of BPB above)
  2711.  46h    BYTE    last track accessed
  2712. ---removable media---
  2713.  47h    DWORD    time of last access in clock ticks (FFFFFFFFh if never)
  2714. ---fixed media---
  2715.  47h    WORD    partition (FFFFh = primary, 0001h = extended)
  2716.         always 0001h for DOS 5+
  2717.  49h    WORD    absolute cylinder number of partition's start on physical drive
  2718.         (FFFFh if primary partition in DOS 4.x)
  2719. ------
  2720.  4Bh 11 BYTEs    volume label or "NO NAME    " if none (apparently taken from
  2721.           extended boot record rather than root directory)
  2722.  56h    BYTE    terminating null for volume label
  2723.  57h    DWORD    serial number
  2724.  5Bh  8 BYTEs    filesystem type ("FAT12      " or "FAT16    ")
  2725.  63h    BYTE    terminating null for filesystem type
  2726. SeeAlso: #2255,#2256
  2727.  
  2728. Bitfields for flags describing drive:
  2729. Bit(s)    Description    (Table 2258)
  2730.  0    fixed media
  2731.  1    door lock ("changeline") supported
  2732.  2    current BPB locked
  2733.  3    all sectors in a track are the same size
  2734.  4    physical drive has multiple logical units
  2735.  5    current logical drive for shared physical drive
  2736.  6    disk change detected
  2737.  7    device parameters were changed (set DASD before formatting)
  2738.     (see #1213 at INT 21/AX=440Dh"DOS 3.2+")
  2739.  8    disk reformatted (BPB of current media was changed)
  2740.  9    access flag (fixed media only, disables reads and writes)
  2741.     (see #1219 at INT 21/AX=440Dh"DOS 3.2+")
  2742. --------f-2F1000-----------------------------
  2743. INT 2F - SHARE - INSTALLATION CHECK
  2744.     AX = 1000h
  2745. Return: AL = status
  2746.         00h not installed, OK to install
  2747.         01h not installed, not OK to install
  2748.         FFh installed
  2749. BUGS:    values of AL other than 00h put DOS 3.x SHARE into an infinite loop
  2750.       (08E9: OR  AL,AL
  2751.        08EB: JNZ 08EB) <- the buggy instruction (DOS 3.3)
  2752.     values of AL other than described here put PC-DOS 4.00 into the same
  2753.       loop (the buggy instructions are the same)
  2754. Notes:    supported by OS/2 v1.3+ compatibility box, which always returns AL=FFh
  2755.     if DOS 4.01 SHARE was automatically loaded, file sharing is in an
  2756.       inactive state (due to the undocumented /NC flag used by the autoload
  2757.       code) until this call is made
  2758.     DOS 5+ chains to the previous handler if AL <> 00h on entry
  2759.     Windows Enhanced mode hooks this call and reports that SHARE is
  2760.       installed even when it is not
  2761. SeeAlso: AX=1080h,INT 21/AH=52h
  2762. --------d-2F1001-----------------------------
  2763. INT 2F U - DR DOS 6.0 SHARE internal - SET ???
  2764.     AX = 1001h
  2765.     DX:BX -> ???function
  2766. Notes:    this function is also supported by SuperStor, a disk-compression
  2767.       program by Addstor which is bundled with DR DOS 6.0, and the
  2768.       Novell DOS 7 DELWATCH.EXE
  2769.     the default handler for the pointer set by this call under DELWATCH
  2770.       simply returns with CF set
  2771. SeeAlso: AX=1000h,AX=F800h
  2772. --------f-2F1040-----------------------------
  2773. INT 2F U - DOS 4 only SHARE internal - ???
  2774.     AX = 1040h
  2775.     ???
  2776. Return: AL = FFh???
  2777. SeeAlso: AX=1000h
  2778. --------f-2F1080-----------------------------
  2779. INT 2F U - DOS 4 only SHARE internal - TURN ON FILE SHARING CHECKS
  2780.     AX = 1080h
  2781. Return: AL = status
  2782.         F0h successful
  2783.         FFh checking was already on
  2784. Note:    DOS 4.x SHARE has dual functions: FCB support for large (>32M) media
  2785.       and file sharing checks.  The undocumented commandline flag /NC can
  2786.       be used to disable the sharing code.
  2787. SeeAlso: AX=1000h,AX=1081h
  2788. --------f-2F1081-----------------------------
  2789. INT 2F U - DOS 4 only SHARE internal - TURN OFF FILE SHARING CHECKS
  2790.     AX = 1081h
  2791. Return: AL = status
  2792.         F0h successful
  2793.         FFh checking was already off
  2794. Note:    (see AX=1080h)
  2795. SeeAlso: AX=1000h,AX=1080h
  2796. --------O-2F10FE-----------------------------
  2797. INT 2F U - Novell DOS 7 DELWATCH.EXE - INSTALLATION CHECK
  2798.     AX = 10FEh
  2799. Return: AX = 20FFh if installed and active
  2800.         DX:BX -> private entry point (see #2259)
  2801.  
  2802. (Table 2259)
  2803. Call DELWATCH private entry point with:
  2804.     AH = function
  2805.         00h NOP???
  2806.         Return: AX = 0000h
  2807.             CX = 0004h (unsupported function)
  2808.         01h disable DELWATCH on drive
  2809.         AL = drive number (00h = A:)
  2810.         Return: AX = status (0000h if failed, FFFFh if successful)
  2811.         02h ???
  2812.         AL = drive number (00h = A:)
  2813.         ???
  2814.         Return: ???
  2815.         03h    ???
  2816.         AL = drive number (00h = A:)
  2817.         CX = ??? (0000h/0001h)
  2818.         ???
  2819.         Return: ???
  2820.         04h ???
  2821.         AL = drive number (00h = A:)
  2822.         ???
  2823.         Return: ???
  2824.         05h ???
  2825.         AL = drive number (00h = A:)
  2826.         ???
  2827.         Return: ???
  2828.         06h enable DELWATCH on drive
  2829.         AL = drive number with bit 7 set (80h = A:, etc.)
  2830.         BX = maximum files of same name in one directory to save
  2831.         CX = maximum files to save on this disk
  2832.         ???
  2833.         Return: AX = status
  2834.                 0000h failed
  2835.                 FFFFh successful
  2836.             CX = error code on failure
  2837.                 (0004h if AL < 80h on entry)
  2838.         07h ???
  2839.         08h set file extensions list
  2840.         AL = sense (00h exclude named extensions, 01h only named ext.)
  2841.         DS:BX -> 31-byte ASCIZ extension list (three blank-padded bytes
  2842.               per extension)
  2843.         Return: AX = FFFFh (successful)
  2844.         09h    ???
  2845.         AL = drive number (00h = A:)
  2846.         ???
  2847.         Return: ???
  2848.         0Ah ???
  2849.         AL = drive number (00h = A:)
  2850.         ???
  2851.         Return: ???
  2852.         0Bh reset ???
  2853.         Return: AX = FFFFh (successful)
  2854.         see also function 0Dh
  2855.         0Ch check if drive enabled
  2856.         AL = drive number with bit 7 set (80h = A:, etc.)
  2857.         Return: AX = state
  2858.                 0000h disabled or error (check CX)
  2859.                 0001h drive enabled
  2860.             CX = error code (0004h invalid drive number)
  2861.         0Dh set ???
  2862.         BX = ???
  2863.         Return: AX = FFFFh (successful)
  2864.         see also function 0Bh
  2865.         0Eh ???
  2866.         AL = drive number (00h = A:)
  2867.         ???
  2868.         Return: ???
  2869. Return: AX = 0000h, CX = 0001h if DELWATCH busy
  2870.     registers unchanged if AH >= 0Fh on entry
  2871. --------O-2F10FF-----------------------------
  2872. INT 2F U - Multiplex - DR DOS 5.0 - ???
  2873.     AX = 10FFh
  2874.     ES:BX -> ???
  2875. Note:    sets pointer in kernel
  2876. --------N-2F1100-----------------------------
  2877. INT 2F C - NETWORK REDIRECTOR - INSTALLATION CHECK
  2878.     AX = 1100h
  2879. Return: AL = status
  2880.         00h not installed, OK to install
  2881.         01h not installed, not OK to install
  2882.         FFh installed
  2883.         AH = product identifier (ad hoc by various manufacturers)
  2884.             00h if PC Tools v8 DRIVEMAP
  2885.             42h ('B') for Beame&Whiteside BWNFS v3.0a
  2886.             6Eh ('n') for NetWare Lite v1.1 CLIENT
  2887. Notes:    this function is called by the DOS 3.1+ kernel
  2888.     in DOS 4.x only, the 11xx calls are all in IFSFUNC.EXE, not in the
  2889.       PC LAN Program redirector; DOS 5+ moves the calls back into the
  2890.       redirector
  2891.     the PC Network 1.00 redirector (renamed to PC LAN Program in 1.1-1.3)
  2892.       only supports AL=00h-27h
  2893. --------d-2F1100SFDADA-----------------------
  2894. INT 2F - MSCDEX (MS CD-ROM Extensions) - INSTALLATION CHECK
  2895.     AX = 1100h subfn DADAh
  2896.     STACK: WORD DADAh
  2897. Return: AL = status
  2898.         00h not installed, OK to install
  2899.         STACK unchanged
  2900.         01h not installed, not OK to install
  2901.         STACK unchanged
  2902.         FFh installed
  2903.         STACK: WORD    ADADh if MSCDEX installed
  2904.                 DADBh if Lotus CD/Networker installed
  2905. Note:    although MSCDEX sets the stack word to ADADh on return, any value other
  2906.       than DADAh is considered to mean that MSCDEX is already installed;
  2907.       Lotus CD/Networker v4+ uses this feature to fool MSCDEX into
  2908.       thinking it is already installed when it is in fact CD/Networker
  2909.       that is installed
  2910. Index:    installation check;Lotus CD/Networker
  2911. Index:    Lotus CD/Networker;installation check
  2912. --------N-2F1101-----------------------------
  2913. INT 2F CU - NETWORK REDIRECTOR - REMOVE REMOTE DIRECTORY
  2914.     AX = 1101h
  2915.     SS = DOS DS
  2916.     SDA first filename pointer -> fully-qualified directory name
  2917.     SDA CDS pointer -> current directory structure for drive with dir
  2918. Return: CF set on error
  2919.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2920.     CF clear if successful
  2921. Note:    this function is called by the DOS 3.1+ kernel
  2922. SeeAlso: AX=1103h,AX=1105h,INT 21/AH=3Ah,INT 21/AH=60h
  2923. --------N-2F1102-----------------------------
  2924. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - REMOVE REMOTE DIRECTORY
  2925.     AX = 1102h
  2926.     SS = DOS DS
  2927.     SDA first filename pointer -> fully-qualified directory name
  2928.     SDA CDS pointer -> current directory structure for drive with dir
  2929. Return: CF set on error
  2930.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2931.     CF clear if successful
  2932. Note:    appears to be identical to AX=1101h; MS internal documentation calls
  2933.       this function "SEQ_RMDIR"
  2934. SeeAlso: AX=1101h
  2935. --------N-2F1103-----------------------------
  2936. INT 2F CU - NETWORK REDIRECTOR - MAKE REMOTE DIRECTORY
  2937.     AX = 1103h
  2938.     SS = DOS DS
  2939.     SDA first filename pointer -> fully-qualified directory name
  2940.     SDA CDS pointer -> current directory structure for drive with dir
  2941. Return: CF set on error
  2942.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2943.     CF clear if successful
  2944. Note:    this function is called by the DOS 3.1+ kernel
  2945. SeeAlso: AX=1101h,AX=1105h,INT 21/AH=39h,INT 21/AH=60h
  2946. --------N-2F1104-----------------------------
  2947. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - MAKE REMOTE DIRECTORY
  2948.     AX = 1104h
  2949.     SS = DOS DS
  2950.     SDA first filename pointer -> fully-qualified directory name
  2951.     SDA CDS pointer -> current directory structure for drive with dir
  2952. Return: CF set on error
  2953.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2954.     CF clear if successful
  2955. Note:    appears to be identical to AX=1103h
  2956. SeeAlso: AX=1103h
  2957. --------N-2F1105-----------------------------
  2958. INT 2F CU - NETWORK REDIRECTOR - CHDIR
  2959.     AX = 1105h
  2960.     SS = DOS DS
  2961.     SDA first filename pointer -> fully-qualified directory name
  2962.     SDA CDS pointer -> current directory structure for drive with dir
  2963. Return: CF set on error
  2964.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2965.     CF clear if successful
  2966.         CDS updated with new path
  2967. Notes:    this function is called by the DOS 3.1+ kernel
  2968.     directory string in CDS should not have a terminating backslash unless
  2969.       the current directory is the root
  2970. SeeAlso: AX=1101h,AX=1103h,INT 21/AH=3Bh,INT 21/AH=60h
  2971. --------N-2F1106-----------------------------
  2972. INT 2F CU - NETWORK REDIRECTOR - CLOSE REMOTE FILE
  2973.     AX = 1106h
  2974.     BX = device info word from SFT
  2975.     ES:DI -> SFT
  2976.         SFT DPB field -> DPB of drive containing file
  2977. Return: CF set on error
  2978.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2979.     CF clear if successful
  2980.         SFT updated (redirector must decrement open count, which may be
  2981.           done with INT 2F/AX=1208h)
  2982. Note:    this function is called by the DOS 3.1+ kernel
  2983. SeeAlso: AX=1116h,AX=1201h,AX=1208h,AX=1227h,INT 21/AH=3Eh
  2984. --------N-2F1107-----------------------------
  2985. INT 2F CU - NETWORK REDIRECTOR - COMMIT REMOTE FILE
  2986.     AX = 1107h
  2987.     ES:DI -> SFT
  2988.         SFT DPB field -> DPB of drive containing file
  2989. Return: CF set on error
  2990.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  2991.     CF clear if successful
  2992.         all buffers for file flushed
  2993.         directory entry updated
  2994. Note:    this function is called by the DOS 3.1+ kernel
  2995. SeeAlso: INT 21/AH=68h,INT 21/AX=5D01h
  2996. --------N-2F1108-----------------------------
  2997. INT 2F CU - NETWORK REDIRECTOR - READ FROM REMOTE FILE
  2998.     AX = 1108h
  2999.     ES:DI -> SFT
  3000.         SFT DPB field -> DPB of drive containing file
  3001.     CX = number of bytes
  3002.     SS = DOS DS
  3003.     SDA DTA field -> user buffer
  3004. Return: CF set on error
  3005.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3006.     CF clear if successful
  3007.         CX = number of bytes read (0000h = end of file)
  3008.         SFT updated
  3009. Note:    this function is called by the DOS 3.1+ kernel
  3010. SeeAlso: AX=1109h,AX=1229h,INT 21/AH=3Fh"DOS",INT 21/AX=5D06h
  3011. --------N-2F1109-----------------------------
  3012. INT 2F CU - NETWORK REDIRECTOR - WRITE TO REMOTE FILE
  3013.     AX = 1109h
  3014.     ES:DI -> SFT
  3015.         SFT DPB field -> DPB of drive containing file
  3016.     CX = number of bytes
  3017.     SS = DOS DS
  3018.     SDA DTA field -> user buffer
  3019. Return: CF set on error
  3020.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3021.     CF clear if successful
  3022.         CX = number of bytes written
  3023.         SFT updated
  3024. Notes:    this function is called by the DOS 3.1+ kernel
  3025.     PrintCache v3.1 PCACHE.EXE intercepts this function for SFTs where
  3026.       the Device Driver Header field points at PCACHE, but does not
  3027.       intercept any other network redirector functions
  3028. SeeAlso: AX=1107h,AX=1108h,INT 21/AH=40h,INT 21/AX=5D06h
  3029. --------N-2F110A-----------------------------
  3030. INT 2F CU - NETWORK REDIRECTOR (DOS 3.x only) - LOCK REGION OF FILE
  3031.     AX = 110Ah
  3032.     BX = file handle
  3033.     CX:DX = starting offset
  3034.     SI = high word of size
  3035.     STACK: WORD low word of size
  3036.     ES:DI -> SFT
  3037.         SFT DPB field -> DPB of drive containing file
  3038.     SS = DOS DS
  3039. Return: CF set on error
  3040.        AL = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3041.     STACK unchanged
  3042. Notes:    this function is called by the DOS 3.10-3.31 kernel
  3043.     the redirector is expected to resolve lock conflicts
  3044. SeeAlso: AX=110Bh,INT 21/AH=5Ch
  3045. --------N-2F110A-----------------------------
  3046. INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - LOCK/UNLOCK REGION OF FILE
  3047.     AX = 110Ah
  3048.     BL = function
  3049.         00h lock
  3050.         01h unlock
  3051.     CX = number of lock/unlock parameters (0001h for DOS 4.0-6.1)
  3052.     DS:DX -> parameter block (see #2260)
  3053.     ES:DI -> SFT
  3054.         SFT DPB field -> DPB of drive containing file
  3055.     SS = DOS DS
  3056. Return: CF set on error
  3057.        AL = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3058. Notes:    this function is called by the DOS 4.0+ kernel
  3059.     the redirector is expected to resolve lock conflicts
  3060. SeeAlso: AX=110Bh,INT 21/AH=5Ch
  3061.  
  3062. Format of parameter block entry [array, but currently limited to single entry]:
  3063. Offset    Size    Description    (Table 2260)
  3064.  00h    DWORD    start offset
  3065.  04h    DWORD    size of region
  3066. --------N-2F110B-----------------------------
  3067. INT 2F CU - NETWORK REDIRECTOR (DOS 3.x only) - UNLOCK REGION OF FILE
  3068.     AX = 110Bh
  3069.     BX = file handle
  3070.     CX:DX = starting offset
  3071.     SI = high word of size
  3072.     STACK: WORD low word of size
  3073.     ES:DI -> SFT for file
  3074.         SFT DPB field -> DPB of drive containing file
  3075. Return: CF set on error
  3076.        AL = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3077.     STACK unchanged
  3078. Note:    this function is called by the DOS 3.1-3.31 kernel; DOS 4.0+ calls
  3079.       AX=110Ah instead
  3080. SeeAlso: AX=110Ah,INT 21/AH=5Ch
  3081. --------N-2F110C-----------------------------
  3082. INT 2F CU - NETWORK REDIRECTOR - GET DISK INFORMATION
  3083.     AX = 110Ch
  3084.     ES:DI -> current directory structure for desired drive
  3085. Return: CF clear if data valid
  3086.         AL = sectors per cluster
  3087.         AH = media ID byte
  3088.         BX = total clusters
  3089.         CX = bytes per sector
  3090.         DX = number of available clusters
  3091.     CF set if data invalid
  3092. Note:    this function is called by the DOS 3.1+ kernel
  3093. SeeAlso: INT 21/AH=36h
  3094. --------N-2F110D-----------------------------
  3095. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - SET REMOTE FILE'S ATTRIBUTES
  3096.     AX = 110Dh
  3097.     SDA first filename pointer -> name of file
  3098.     ???
  3099. Return: ???
  3100. Note:    similar to AX=110Eh
  3101. SeeAlso: AX=110Eh
  3102. --------N-2F110E-----------------------------
  3103. INT 2F CU - NETWORK REDIRECTOR - SET REMOTE FILE'S ATTRIBUTES
  3104.     AX = 110Eh
  3105.     SS = DOS DS
  3106.     SDA first filename pointer -> fully-qualified name of file
  3107.     SDA CDS pointer -> current directory structure for drive with file
  3108.     STACK: WORD new file attributes
  3109. Return: CF set on error
  3110.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3111.     CF clear if successful
  3112.     STACK unchanged
  3113. Note:    this function is called by the DOS 3.1+ kernel
  3114. SeeAlso: AX=110Dh,AX=110Fh,INT 21/AX=4301h,INT 21/AH=60h
  3115. --------N-2F110F-----------------------------
  3116. INT 2F CU - NETWORK REDIRECTOR - GET REMOTE FILE'S ATTRIBUTES AND SIZE
  3117.     AX = 110Fh
  3118.     SS = DOS DS
  3119.     SDA first filename pointer -> fully-qualified name of file
  3120.     SDA CDS pointer -> current directory structure for drive with file
  3121. Return: CF set on error
  3122.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3123.     CF clear if successful
  3124.         AX = file attributes
  3125.         BX:DI = file size
  3126. Note:    this function is called by the DOS 3.1+ kernel
  3127. SeeAlso: AX=110Eh,INT 21/AX=4300h,INT 21/AH=60h
  3128. --------N-2F1110-----------------------------
  3129. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - GET REMOTE FILE'S ATTRIBUTES AND SIZE
  3130.     AX = 1110h
  3131.     SDA first filename pointer -> name of file
  3132.     ???
  3133. Return: ???
  3134. Note:    appears to be similar to AX=110Fh
  3135. SeeAlso: AX=110Eh
  3136. --------N-2F1111-----------------------------
  3137. INT 2F CU - NETWORK REDIRECTOR - RENAME REMOTE FILE
  3138.     AX = 1111h
  3139.     SS = DS = DOS DS
  3140.     SDA first filename pointer = offset of fully-qualified old name
  3141.     SDA second filename pointer = offset of fully-qualified new name
  3142.     SDA CDS pointer -> current directory structure for drive with file
  3143. Return: CF set on error
  3144.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3145.     CF clear if successful
  3146. Note:    this function is called by the DOS 3.1+ kernel
  3147. SeeAlso: AX=1112h,INT 21/AH=56h,INT 21/AH=60h
  3148. --------N-2F1112-----------------------------
  3149. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - RENAME REMOTE FILE
  3150.     AX = 1112h
  3151.     SS = DS = DOS DS
  3152.     SDA first filename pointer -> name of file
  3153.     ???
  3154. Return: ???
  3155. Note:    similar to AX=1111h
  3156. SeeAlso: AX=1111h
  3157. --------N-2F1113-----------------------------
  3158. INT 2F CU - NETWORK REDIRECTOR - DELETE REMOTE FILE
  3159.     AX = 1113h
  3160.     SS = DS = DOS DS
  3161.     SDA first filename pointer -> fully-qualified filename in DOS DS
  3162.     SDA CDS pointer -> current directory structure for drive with file
  3163. Return: CF set on error
  3164.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3165.     CF clear if successful
  3166. Notes:    this function is called by the DOS 3.1+ kernel
  3167.     the filespec may contain wildcards
  3168. SeeAlso: AX=1114h,INT 21/AH=41h,INT 21/AH=60h
  3169. --------N-2F1114-----------------------------
  3170. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - DELETE REMOTE FILE
  3171.     AX = 1114h
  3172.     SDA first filename pointer -> name of file
  3173.     ???
  3174. Return: ???
  3175. Note:    similar to AX=1113h
  3176. SeeAlso: AX=1113h
  3177. --------N-2F1115-----------------------------
  3178. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - OPEN REMOTE FILE
  3179.     AX = 1115h
  3180.     SS = DOS DS
  3181.     ES:DI -> SFT ???
  3182.     ???
  3183. Return: ???
  3184. Note:    similar to AX=1116h
  3185. SeeAlso: AX=1116h,AX=112Eh
  3186. --------N-2F1116-----------------------------
  3187. INT 2F CU - NETWORK REDIRECTOR - OPEN EXISTING REMOTE FILE
  3188.     AX = 1116h
  3189.     ES:DI -> uninitialized SFT
  3190.     SS = DOS DS
  3191.     SDA first filename pointer -> fully-qualified name of file to open
  3192.     STACK: WORD file access and sharing modes (see #1056 at INT 21/AH=3Dh)
  3193. Return: CF set on error
  3194.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3195.     CF clear if successful
  3196.         SFT filled (except handle count, which DOS manages itself)
  3197.     STACK unchanged
  3198. Note:    this function is called by the DOS 3.1+ kernel
  3199. SeeAlso: AX=1106h,AX=1115h,AX=1117h,AX=1118h,AX=112Eh,INT 21/AH=3Dh
  3200. SeeAlso: INT 21/AH=60h
  3201. --------N-2F1117-----------------------------
  3202. INT 2F CU - NETWORK REDIRECTOR - CREATE/TRUNCATE REMOTE FILE
  3203.     AX = 1117h
  3204.     ES:DI -> uninitialized SFT
  3205.     SS = DOS DS
  3206.     SDA first filename pointer -> fully-qualified name of file to open
  3207.     SDA CDS pointer -> current directory structure for drive with file
  3208.     STACK: WORD file creation mode
  3209.             low byte = file attributes (see #1055 at INT 21/AH=3Ch)
  3210.             high byte = 00h normal create, 01h create new file
  3211. Return: CF set on error
  3212.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3213.     CF clear if successful
  3214.         SFT filled (except handle count, which DOS manages itself)
  3215.     STACK unchanged
  3216. Note:    this function is called by the DOS 3.1+ kernel
  3217. SeeAlso: AX=1106h,AX=1116h,AX=1118h,AX=112Eh,INT 21/AH=3Ch,INT 21/AH=60h
  3218. --------N-2F1118-----------------------------
  3219. INT 2F CU - NETWORK REDIRECTOR - CREATE/TRUNCATE FILE WITHOUT CDS
  3220.     AX = 1118h
  3221.     ES:DI -> uninitialized SFT
  3222.     SS = DOS DS
  3223.     SDA first filename pointer -> fully-qualified name of file
  3224.     STACK: WORD file creation mode
  3225.             low byte = file attributes
  3226.             high byte = 00h normal create, 01h create new file
  3227. Return: ???
  3228.     STACK unchanged
  3229. Note:    this function is called by the DOS 3.1+ kernel when creating a file
  3230.       on a drive for which the SDA CDS pointer has offset FFFFh
  3231. SeeAlso: AX=1106h,AX=1116h,AX=1117h,AX=112Eh,INT 21/AH=60h
  3232. --------N-2F1119-----------------------------
  3233. INT 2F CU - NETWORK REDIRECTOR - FIND FIRST FILE WITHOUT CDS
  3234.     AX = 1119h
  3235.     SS = DS = DOS DS
  3236.     [DTA] = uninitialized 21-byte findfirst search data
  3237.           (see #1278 at INT 21/AH=4Eh)
  3238.     SDA first filename pointer -> fully-qualified search template
  3239.     SDA search attribute = attribute mask for search
  3240. Return: CF set on error
  3241.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3242.     CF clear if successful
  3243.         [DTA] = updated findfirst search data
  3244.             (bit 7 of first byte must be set)
  3245.         [DTA+15h] = standard directory entry for file (see #1007)
  3246. Notes:    this function is called by the DOS 3.1+ kernel
  3247.     DOS 4.x IFSFUNC returns CF set, AX=0003h
  3248. SeeAlso: AX=111Ah,AX=111Bh,INT 21/AH=1Ah
  3249. --------N-2F111A-----------------------------
  3250. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - FIND NEXT FILE WITHOUT CDS
  3251.     AX = 111Ah
  3252.     ???
  3253. Return: CF set
  3254.         AX = error code (03h for DOS 4.01 IFSFUNC)
  3255. Note:    use AX=111Ch for DOS 5+
  3256. SeeAlso: AX=1119h,AX=111Ch
  3257. --------N-2F111B-----------------------------
  3258. INT 2F CU - NETWORK REDIRECTOR - FINDFIRST
  3259.     AX = 111Bh
  3260.     SS = DS = DOS DS
  3261.     [DTA] = uninitialized 21-byte findfirst search data
  3262.           (see #1278 at INT 21/AH=4Eh)
  3263.     SDA first filename pointer -> fully-qualified search template
  3264.     SDA CDS pointer -> current directory structure for drive with file
  3265.     SDA search attribute = attribute mask for search
  3266. Return: CF set on error
  3267.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3268.     CF clear if successful
  3269.         [DTA] = updated findfirst search data
  3270.             (bit 7 of first byte must be set)
  3271.         [DTA+15h] = standard directory entry for file (see #1007)
  3272. Note:    this function is called by the DOS 3.1+ kernel
  3273. SeeAlso: AX=1119h,AX=111Ch,INT 21/AH=1Ah,INT 21/AH=4Eh,INT 21/AH=60h
  3274. --------N-2F111C-----------------------------
  3275. INT 2F CU - NETWORK REDIRECTOR - FINDNEXT
  3276.     AX = 111Ch
  3277.     SS = DS = DOS DS
  3278.     ES:DI -> CDS
  3279.     ES:DI -> DTA (MSDOS v5.0)
  3280.     [DTA] = 21-byte findfirst search data
  3281.           (see #1278 at INT 21/AH=4Eh)
  3282. Return: CF set on error
  3283.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3284.     CF clear if successful
  3285.         [DTA] = updated findfirst search data
  3286.             (bit 7 of first byte must be set)
  3287.         [DTA+15h] = standard directory entry for file (see #1007)
  3288. Note:    this function is called by the DOS 3.1+ kernel
  3289. SeeAlso: AX=1119h,AX=111Bh,INT 21/AH=1Ah,INT 21/AH=4Fh
  3290. --------N-2F111D-----------------------------
  3291. INT 2F CU - NETWORK REDIRECTOR - CLOSE ALL REMOTE FILES FOR PROCESS (ABORT)
  3292.     AX = 111Dh
  3293.     SS = DOS DS
  3294.     SDA PSP segment field = PSP of terminating process
  3295. Return: nothing
  3296. Notes:    used when a process is aborted; the process being terminated is
  3297.       indicated by the "sharing PSP" field in the SDA (offset 1Ah/1Ch)
  3298.     this function is called by the DOS 3.1+ kernel
  3299.     closes all FCBs opened by process
  3300. SeeAlso: INT 21/AX=5D04h
  3301. --------N-2F111E-----------------------------
  3302. INT 2F CU - NETWORK REDIRECTOR - DO REDIRECTION
  3303.     AX = 111Eh
  3304.     SS = DOS DS
  3305.     STACK: WORD function to execute
  3306.         5F00h  get redirection mode
  3307.             BL = type (03h printer, 04h disk)
  3308.             Return: BH = state (00h off, 01h on)
  3309.         5F01h  set redirection mode
  3310.             BL = type (03h printer, 04h disk)
  3311.             BH = state (00h off, 01h on)
  3312.         5F02h  get redirection list entry
  3313.             BX = redirection list index
  3314.             DS:SI -> 16-byte local device name buffer
  3315.             ES:DI -> 128-byte network name buffer
  3316.             Return: must set user's BX to device type and CX to
  3317.                 stored parameter value, using AX=1218h to get
  3318.                 stack frame address
  3319.         5F03h  redirect device
  3320.             BL = device type (see INT 21/AX=5F03h)
  3321.             CX = stored parameter value
  3322.             DS:SI -> ASCIZ source device name
  3323.             ES:DI -> destination ASCIZ network path + ASCIZ passwd
  3324.         5F04h  cancel redirection
  3325.             DS:SI -> ASCIZ device name or network path
  3326.         5F05h  get redirection list extended entry
  3327.             BX = redirection list index
  3328.             DS:SI -> buffer for ASCIZ source device name
  3329.             ES:DI -> buffer for destination ASCIZ network path
  3330.             Return: BH = status flag
  3331.                 BL = type (03h printer, 04h disk)
  3332.                 CX = stored parameter value
  3333.                 BP = NETBIOS local session number
  3334.         5F06h  similar to 5F05h???
  3335. Return: CF set on error
  3336.         AX = error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3337.     STACK unchanged
  3338. Notes:    this function is called by the DOS 3.1+ kernel on INT 21/AH=5Fh
  3339.       (including LAN Manager calls)
  3340.     the PC Network 1.00 redirector does not support function 5F06h
  3341. SeeAlso: INT 21/AX=5F00h,INT 21/AX=5F01h,INT 21/AX=5F02h,INT 21/AX=5F03h
  3342. SeeAlso: INT 21/AX=5F04h,INT 21/AX=5F05h,INT 21/AX=5F06h
  3343. --------N-2F111F-----------------------------
  3344. INT 2F CU - NETWORK REDIRECTOR - PRINTER SETUP
  3345.     AX = 111Fh
  3346.     STACK: WORD function
  3347.         5E02h  set printer setup
  3348.         5E03h  get printer setup
  3349.         5E04h  set printer mode
  3350.         5E05h  get printer mode
  3351. Return: CF set on error
  3352.         AX = error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3353.     STACK unchanged
  3354. Note:    this function is called by the DOS 3.1+ kernel
  3355. SeeAlso: INT 21/AX=5E02h,INT 21/AX=5E03h,INT 21/AX=5E04h,INT 21/AX=5E05h
  3356. --------N-2F1120-----------------------------
  3357. INT 2F CU - NETWORK REDIRECTOR - FLUSH ALL DISK BUFFERS
  3358.     AX = 1120h
  3359.     DS = DOS DS
  3360.     ???
  3361. Return: CF clear (successful)
  3362. Notes:    this function is called by the DOS 3.1+ kernel
  3363.     uses CDS array pointer and LASTDRIVE= entries in DOS list of lists
  3364. SeeAlso: INT 21/AH=0Dh,INT 21/AX=5D01h
  3365. --------N-2F1121-----------------------------
  3366. INT 2F CU - NETWORK REDIRECTOR - SEEK FROM END OF REMOTE FILE
  3367.     AX = 1121h
  3368.     CX:DX = offset (in bytes) from end
  3369.     ES:DI -> SFT
  3370.         SFT DPB field -> DPB of drive with file
  3371.     SS = DOS DS
  3372. Return: CF set on error
  3373.         AL = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3374.     CF clear if successful
  3375.         DX:AX = new file position
  3376. Note:    this function is called by the DOS 3.1+ kernel, but only when seeking
  3377.       from the end of a file opened with sharing modes set in such a
  3378.       manner that another process is able to change the size of the file
  3379.       while it is already open
  3380. SeeAlso: AX=1228h,INT 21/AH=42h
  3381. --------N-2F1122-----------------------------
  3382. INT 2F CU - NETWORK REDIRECTOR - PROCESS TERMINATION HOOK
  3383.     AX = 1122h
  3384.     SS = DOS DS
  3385.     DS = PSP of process about to terminate
  3386. Return: ???
  3387. Notes:    this function is called by the DOS 3.1+ kernel
  3388.     after calling this function, the kernel calls INT 2F/AX=111Dh
  3389. SeeAlso: AX=111Dh,INT 21/AH=4Ch,INT 60/DI=0601h
  3390. --------N-2F1123-----------------------------
  3391. INT 2F CU - NETWORK REDIRECTOR - QUALIFY REMOTE FILENAME
  3392.     AX = 1123h
  3393.     DS:SI -> ASCIZ filename to canonicalize
  3394.     ES:DI -> 128-byte buffer for qualified name
  3395. Return: CF set if not resolved
  3396. Notes:    called by MS-DOS 3.1+ kernel, but not called by DR DOS 5.0 unless the
  3397.       filename matches the name of a character device
  3398.     called first when DOS attempts to resolve a filename (unless inside an
  3399.       AX=5D00h server call); if this fails, DOS resolves the name locally
  3400. SeeAlso: AX=1221h,INT 21/AH=60h
  3401. --------N-2F1124-----------------------------
  3402. INT 2F CU - NETWORK REDIRECTOR - TURN OFF REMOTE PRINTER
  3403.     AX = 1124h
  3404.     ES:DI -> SFT
  3405.     SS = DOS DS
  3406.     ???
  3407. Return: CX = ???
  3408. Note:    this function is called by the DOS 3.1+ kernel if AX=1126h
  3409.       returns CF set
  3410. SeeAlso: AX=1126h
  3411. --------N-2F1125-----------------------------
  3412. INT 2F CU - NETWORK REDIRECTOR - REDIRECTED PRINTER MODE
  3413.     AX = 1125h
  3414.     STACK: WORD subfunction
  3415.         5D07h get print stream state
  3416.             Return: DL = current state
  3417.         5D08h set print stream state
  3418.             DL = new state
  3419.         5D09h finish print job
  3420. Return: CF set on error
  3421.         AX = error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3422.     STACK unchanged
  3423. Note:    this function is called by the DOS 3.1+ kernel
  3424. SeeAlso: INT 21/AX=5D07h,INT 21/AX=5D08h,INT 21/AX=5D09h
  3425. --------N-2F1126-----------------------------
  3426. INT 2F CU - NETWORK REDIRECTOR - REMOTE PRINTER ECHO ON/OFF
  3427.     AX = 1126h
  3428.     ES:DI -> SFT for file handle 4???
  3429.     SS = DOS DS???
  3430.     ???
  3431. Return: CF set on error
  3432. Notes:    this function is called by the DOS 3.1+ kernel
  3433.     called when print echoing (^P, ^PrtSc) changes state and STDPRN has
  3434.       bit 11 of the device information word in the SFT set
  3435. SeeAlso: AX=1124h
  3436. --------N-2F1127-----------------------------
  3437. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  3438.     AX = 1127h
  3439. Return: CF set
  3440.         AX = 0001h (invalid function) (see #1332 at INT 21/AH=59h/BX=0000h)
  3441. --------N-2F1127BX4E57-----------------------
  3442. INT 2F - NetWare 4.0 - REMOTE FILE COPY
  3443.     AX = 1127h
  3444.     BX = 4E57h ('NW') (signature identifying this as a NetWare call)
  3445.     SI = source file handle
  3446.     DI = destination file handle
  3447.     DX:CX = number of bytes to copy, starting at current file position
  3448. Return: CF clear if successful
  3449.     CF set on error
  3450.         AX = error code (05h,06h,0Bh,11h,3Bh) (see #1332)
  3451.     DX:CX = number of bytes successfully copied (file position updated)
  3452. Notes:    this is the only call which may be made directly to the NetWare
  3453.       redirector from an application
  3454.     COMMAND.COM's COPY and DOS's XCOPY reportedly call INT 21/AX=1127h in
  3455.       order to speed up copies between files on the same network server;
  3456.       if error code 11h (not same device) is returned, the copy is
  3457.       performed in the usual manner.  However, no such calls appear to
  3458.       be present in MS-DOS 6.22.
  3459. --------N-2F1128-----------------------------
  3460. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  3461.     AX = 1128h
  3462. Return: CF set
  3463.         AX = 0001h (invalid function) (see #1332 at INT 21/AH=59h/BX=0000h)
  3464. --------N-2F1129-----------------------------
  3465. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - UNUSED
  3466.     AX = 1129h
  3467. Return: CF set
  3468.         AX = 0001h (invalid function) (see #1332 at INT 21/AH=59h/BX=0000h)
  3469. --------N-2F112A-----------------------------
  3470. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - CLOSE ALL FILES FOR PROCESS
  3471.     AX = 112Ah
  3472.     DS = DOS DS
  3473.     ???
  3474. Return: ???
  3475. Note:    does something to each IFS driver
  3476. --------N-2F112B-----------------------------
  3477. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - GENERIC IOCTL
  3478.     AX = 112Bh
  3479.     SS = DOS DS
  3480.     CX = function/category
  3481.     DS:DX -> parameter block
  3482.     STACK: WORD value of AX on entry to INT 21 (440Ch or 440Dh)
  3483.     ???
  3484. Return: CF set on error
  3485.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3486.     CF clear if successful
  3487. Note:    this function is called by the DOS 4.0 kernel
  3488. --------N-2F112C-----------------------------
  3489. INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - "UPDATE_CB" - ???
  3490.     AX = 112Ch
  3491.     SS = DOS DS
  3492.     SDA current SFT pointer -> SFT for file
  3493.     ???
  3494. Return: CF set on error
  3495. Note:    called by SHARE in DOS 5.0-6.0
  3496. --------N-2F112D-----------------------------
  3497. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - EXTENDED ATTRIBUTES
  3498.     AX = 112Dh
  3499.     BL = subfunction (value of AL on INT 21)
  3500.         02h get extended attributes
  3501.         03h get extended attribute properties
  3502.         04h set extended attributes
  3503.         Return: CF clear
  3504.         else ???
  3505.         Return: CX = ??? (00h or 02h for DOS 4.01)
  3506.     ES:DI -> SFT for file
  3507.     SS = DOS DS
  3508. Return: DS = DOS DS
  3509. Note:    this function is called by the DOS 4.0 kernel on INT 21/AX=5702h,
  3510.       INT 21/AX=5703h, and INT 21/AX=5704h
  3511. SeeAlso: INT 21/AX=5702h,INT 21/AX=5703h,INT 21/AX=5704h,INT 21/AH=6Eh
  3512. --------N-2F112E-----------------------------
  3513. INT 2F CU - NETWORK REDIRECTOR (DOS 4.0+) - EXTENDED OPEN/CREATE FILE
  3514.     AX = 112Eh
  3515.     SS = DS = DOS DS
  3516.     ES:DI -> uninitialized SFT for file
  3517.     STACK: WORD file attribute for created/truncated file
  3518.             low byte = file attributes
  3519.             high byte = 00h normal create/open, 01h create new file
  3520.     SDA first filename pointer -> fully-qualified filename
  3521.     SDA extended file open action = action code
  3522.           (see #1424 at INT 21/AX=6C00h)
  3523.     SDA extended file open mode = open mode for file (see INT 21/AX=6C00h)
  3524. Return: CF set on error
  3525.         AX = error code
  3526.     CF clear if successful
  3527.         CX = result code
  3528.         01h file opened
  3529.         02h file created
  3530.         03h file replaced (truncated)
  3531.         SFT initialized (except handle count, which DOS manages itself)
  3532. Note:    this function is called by the DOS 4.0+ kernel
  3533. BUG:    this function is not called correctly under some DOS versions
  3534.       (at least 5.0 and 6.2):
  3535.         the file attribute on the stack is not correct if the action
  3536.           code is 11h,
  3537.         the result code in CX is not passed back to the application.
  3538. SeeAlso: AX=1115h,AX=1116h,AX=1117h,INT 21/AX=6C00h
  3539. --------N-2F112F-----------------------------
  3540. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - IFS IOCTL
  3541.     AX = 112Fh
  3542.     SS = DOS DS
  3543.     STACK: WORD function in low byte
  3544.         00h ???
  3545.             DS:SI -> Current Directory Structure???
  3546.             CL = drive (1=A:)
  3547.         01h ???
  3548.             DS:SI -> ???
  3549.             CL = file handle???
  3550.         02h ???
  3551.             DS:SI -> Current Directory Structure???
  3552.             DI = ???
  3553.             CX = drive (1=A:)
  3554.     ???
  3555. Return: CF set on error
  3556.         AX = DOS error code (see #1332 at INT 21/AH=59h/BX=0000h)
  3557.     CF clear if successful
  3558. Note:    this function is called by the DOS 4.0 kernel
  3559. SeeAlso: INT 21/AH=6Bh
  3560. --------N-2F1130-----------------------------
  3561. INT 2F CU - IFSFUNC.EXE (DOS 4.x only) - GET IFSFUNC SEGMENT
  3562.     AX = 1130h
  3563. Return: ES = CS of resident IFSFUNC
  3564. --------N-2F1180-----------------------------
  3565. INT 2F - LAN Manager Enhanced DOS Services - ???
  3566.     AX = 1180h
  3567.     ???
  3568. Return: ???
  3569. SeeAlso: AX=1100h,AX=1181h,AX=118Eh
  3570. --------N-2F1181-----------------------------
  3571. INT 2F - LAN Manager Enhanced DOS Services - SET USER NAME???
  3572.     AX = 1181h
  3573.     ???
  3574. Return: ???
  3575. SeeAlso: AX=1100h,AX=1180h
  3576. --------N-2F1182-----------------------------
  3577. INT 2F - LAN Manager Enhanced DOS Services - INSTALL SERVICE
  3578.     AX = 1182h
  3579.     ???
  3580. Return: ???
  3581. SeeAlso: AX=1100h,AX=1180h
  3582. --------N-2F1184-----------------------------
  3583. INT 2F - LAN Manager Enhanced DOS - ???
  3584.     AX = 1184h
  3585.     ???
  3586. Return: ???
  3587. --------N-2F1186-----------------------------
  3588. INT 2F - LAN Manager Enhanced DOS - DosReadAsynchNmPipe
  3589.     AX = 1186h
  3590.     DS:SI -> stack frame (see #2261)
  3591. Return: CF clear if successful
  3592.     CF set if error
  3593.         AX = error code
  3594. Note:    LAN Manager enhance mode adds features beyond the standard redirector
  3595.       file/printer services
  3596. SeeAlso: AX=118Fh,AX=1190h,AX=1191h,INT 21/AX=5F39h
  3597.  
  3598. Format of LAN Manager DosReadAsynchNmPipe stack frame:
  3599. Offset    Size    Description    (Table 2261)
  3600.  00h    DWORD    -> number of bytes read
  3601.  04h    WORD    size of buffer
  3602.  06h    DWORD    -> buffer
  3603.  0Ah    DWORD    -> return code
  3604.  0Eh    DWORD    function to call on completion as function( char far *buffer )
  3605.  12h    WORD    handle
  3606. --------N-2F118A-----------------------------
  3607. INT 2F - LAN Manager 2.0+ DOS Enhanced ENCRYPT.EXE - STREAM ENCRYPTION SERVICE
  3608.     AX = 118Ah
  3609.     BX = function (0000h or 0001h)
  3610. Return: CF clear if successful
  3611.         AX = 1100h success
  3612.     CF set if error
  3613.         AX = 0001h, etc.
  3614. SeeAlso: AX=1186h,AH=41h,AH=42h,AH=4Bh
  3615. --------N-2F118B-----------------------------
  3616. INT 2F - LAN Manager Enhanced DOS - ???
  3617.     AX = 118Bh
  3618.     ???
  3619. Return: ???
  3620. --------N-2F118C-----------------------------
  3621. INT 2F - LAN Manager Enhanced DOS - ???
  3622.     AX = 118Ch
  3623.     ???
  3624. Return: ???
  3625. --------N-2F118E-----------------------------
  3626. INT 2F - LAN Manager Enhanced DOS - ???
  3627.     AX = 118Eh
  3628.     ???
  3629. Return: ???
  3630. --------N-2F118F-----------------------------
  3631. INT 2F - LAN Manager Enhanced DOS - DosWriteAsynchNmPipe
  3632.     AX = 118Fh
  3633.     DS:SI -> stack frame (see #2262)
  3634. Return: CF clear if successful
  3635.     CF set if error
  3636.         AX = error code
  3637. SeeAlso: AX=1186h,AX=1191h,INT 21/AX=5F3Ah
  3638.  
  3639. Format of LAN Manager DosReadAsynchNmPipe stack frame:
  3640. Offset    Size    Description    (Table 2262)
  3641.  00h    DWORD    -> number of bytes read
  3642.  04h    WORD    Size of buffer
  3643.  06h    DWORD    -> buffer
  3644.  0Ah    DWORD    -> return code
  3645.  0Eh    DWORD    function to call on completion as function( char far *buffer )
  3646.  12h    WORD    handle
  3647. --------N-2F1190-----------------------------
  3648. INT 2F - LAN Manager Enhanced DOS - DosReadAsynchNmPipe2
  3649.     AX = 1190h
  3650.     DS:SI -> stack frame (see #2263)
  3651. Return: CF clear if successful
  3652.     CF set if error
  3653.         AX = error code
  3654. SeeAlso: AX=1186h,AX=1191h
  3655.  
  3656. Format of LAN Manager DosReadAsynchNmPipe2 stack frame:
  3657. Offset    Size    Description    (Table 2263)
  3658.  00h    DWORD    -> number of bytes read
  3659.  04h    WORD    size of buffer
  3660.  06h    DWORD    -> buffer
  3661.  0Ah    DWORD    -> return code
  3662.  0Eh    DWORD    function to call on completion as function( char far *buffer )
  3663.  12h    WORD    handle
  3664.  14h    DWORD    ???
  3665. --------N-2F1191-----------------------------
  3666. INT 2F - LAN Manager Enhanced DOS - DosWriteAsynchNmPipe2
  3667.     AX = 1191h
  3668.     DS:SI -> stack frame (see #2264)
  3669. Return: CF clear if successful
  3670.     CF set if error
  3671.         AX = error code
  3672. SeeAlso: AX=118Fh,AX=1190h,INT 21/AX=5F3Ah
  3673.  
  3674. Format of LAN Manager DosReadAsynchNmPipe2 stack frame:
  3675. Offset    Size    Description    (Table 2264)
  3676.  00h    DWORD    -> number of bytes read
  3677.  04h    WORD    size of buffer
  3678.  06h    DWORD    -> buffer
  3679.  0Ah    DWORD    -> return code
  3680.  0Eh    DWORD    function to call on completion as function( char far *buffer )
  3681.  12h    WORD    handle
  3682.  14h    DWORD    ???
  3683. --------D-2F1200-----------------------------
  3684. INT 2F U - DOS 3.0+ internal - INSTALLATION CHECK
  3685.     AX = 1200h
  3686. Return: AL = FFh (for compatibility with other INT 2F functions)
  3687. --------D-2F1201-----------------------------
  3688. INT 2F U - DOS 3.0+ internal - CLOSE CURRENT FILE
  3689.     AX = 1201h
  3690.     SS = DOS DS (must be using a DOS internal stack)
  3691.     SDA current SFT pointer -> SFT of file to close
  3692. Return: CF set on error
  3693.     BX???
  3694.     CX new reference count of SFT
  3695.     ES:DI -> SFT for file
  3696. SeeAlso: AX=1106h,AX=1227h,INT 21/AH=3Eh
  3697. --------D-2F1202-----------------------------
  3698. INT 2F U - DOS 3.0+ internal - GET INTERRUPT ADDRESS
  3699.     AX = 1202h
  3700.     STACK: WORD vector number
  3701. Return: ES:BX -> interrupt vector (DWORD containing handler's address)
  3702.     STACK unchanged
  3703. --------D-2F1203-----------------------------
  3704. INT 2F U - DOS 3.0+ internal - GET DOS DATA SEGMENT
  3705.     AX = 1203h
  3706. Return: DS = data segment of IBMDOS.COM/MSDOS.SYS
  3707. Note:    for DOS prior to version 5.0, the data segment is the same as the code
  3708.       segment
  3709. --------D-2F1204-----------------------------
  3710. INT 2F U - DOS 3.0+ internal - NORMALIZE PATH SEPARATOR
  3711.     AX = 1204h
  3712.     STACK: WORD character to normalize
  3713. Return: AL = normalized character (forward slash turned to backslash, all
  3714.           others unchanged)
  3715.     ZF set if path separator
  3716.     STACK unchanged
  3717. --------D-2F1205-----------------------------
  3718. INT 2F U - DOS 3.0+ internal - OUTPUT CHARACTER TO STANDARD OUTPUT
  3719.     AX = 1205h
  3720.     STACK: WORD character to output
  3721. Return: STACK unchanged
  3722. Note:    can be called only from within DOS
  3723. --------D-2F1206-----------------------------
  3724. INT 2F U - DOS 3.0+ internal - INVOKE CRITICAL ERROR
  3725.     AX = 1206h
  3726.     DI = error code
  3727.     BP:SI -> device driver header (see #1298)
  3728.     SS = DOS DS (must be using a DOS internal stack)
  3729.     STACK: WORD value to be passed to INT 24 in AX
  3730. Return: AL = 0-3 for Abort, Retry, Ignore, Fail
  3731.     STACK unchanged
  3732. SeeAlso: INT 24
  3733. --------D-2F1207-----------------------------
  3734. INT 2F U - DOS 3.0+ internal - MAKE DISK BUFFER MOST-RECENTLY USED
  3735.     AX = 1207h
  3736.     DS:DI -> disk buffer
  3737. Return: nothing
  3738. Desc:    move the indicated buffer to the end of the disk buffer chain (least-
  3739.       recently used is first); under DOS 3.3, the buffer is then moved to
  3740.       the start of the disk buffer chain if it was marked unused
  3741. Notes:    can be called only from within DOS
  3742.     this function is nearly the same as AX=120Fh
  3743. SeeAlso: AX=120Fh
  3744. --------D-2F1208-----------------------------
  3745. INT 2F U - DOS 3.0+ internal - DECREMENT SFT REFERENCE COUNT
  3746.     AX = 1208h
  3747.     ES:DI -> SFT
  3748. Return: AX = original value of reference count
  3749. Notes:    if the reference count was 1, it is set to FFFFh (since 0 indicates
  3750.       that the SFT is not in use).    It is the caller's responsibility to
  3751.       set the reference count to zero after cleaning up.
  3752.     used by network redirectors such as MSCDEX
  3753. SeeAlso: AX=1106h
  3754. --------D-2F1209-----------------------------
  3755. INT 2F U - DOS 3.0+ internal - FLUSH AND FREE DISK BUFFER
  3756.     AX = 1209h
  3757.     DS:DI -> disk buffer
  3758. Return: disk buffer marked unused, contents written to disk if buffer dirty
  3759. Note:    can be called only from within DOS
  3760. SeeAlso: AX=120Eh,AX=1215h
  3761. --------D-2F120A-----------------------------
  3762. INT 2F U - DOS 3.0+ internal - PERFORM CRITICAL ERROR INTERRUPT
  3763.     AX = 120Ah
  3764.     DS = SS = DOS DS (must be using a DOS internal stack)
  3765.     STACK: WORD extended error code
  3766. Return: AL = user response (0=ignore, 1=retry, 2=abort, 3=fail)
  3767.     CF clear if retry, set otherwise
  3768.     STACK unchanged
  3769. Notes:    can only be called during a DOS function call, as it uses various
  3770.       fields in the SDA to set up the registers for the INT 24
  3771.     reportedly sets current DPB's first root directory sector to 1
  3772. SeeAlso: INT 24
  3773. --------D-2F120B-----------------------------
  3774. INT 2F U - DOS 3.0+ internal - SIGNAL SHARING VIOLATION TO USER
  3775.     AX = 120Bh
  3776.     ES:DI -> system file table entry for previous open of file
  3777.     STACK: WORD extended error code (should be 20h--sharing violation)
  3778. Return: CF clear if operation should be retried
  3779.     CF set if operation should not be retried
  3780.         AX = error code (20h) (see #1332 at INT 21/AH=59h/BX=0000h)
  3781.     STACK unchanged
  3782. Notes:    can only be called during a DOS function call
  3783.     should only be called if an attempt was made to open an already-open
  3784.       file contrary to the sharing rules
  3785.     invokes INT 24 if SFT file opened via FCB or in compatibility mode with
  3786.       inheritance allowed
  3787. --------D-2F120C-----------------------------
  3788. INT 2F U - DOS 3.0+ internal - OPEN DEVICE AND SET SFT OWNER/MODE
  3789.     AX = 120Ch
  3790.     SDA current SFT pointer -> SFT for file
  3791.     DS = DOS DS
  3792.     SS = DOS DS (must be using a DOS internal stack)
  3793. Return: ES, DI, AX destroyed
  3794. Notes:    invokes "device open" call on device driver for SFT
  3795.     changes owner of last-accessed SFT to calling process if it was opened
  3796.       via FCB
  3797.     called by network redirectors such as MSCDEX
  3798. --------D-2F120D-----------------------------
  3799. INT 2F U - DOS 3.0+ internal - GET DATE AND TIME
  3800.     AX = 120Dh
  3801.     SS = DOS DS (must be using a DOS internal stack)
  3802. Return: AX = current date in packed format (see #1318 at INT 21/AX=5700h)
  3803.     DX = current time in packed format (see #1317 at INT 21/AX=5700h)
  3804. SeeAlso: INT 21/AH=2Ah,INT 21/AH=2Ch
  3805. --------D-2F120E-----------------------------
  3806. INT 2F U - DOS 3.0+ internal - MARK ALL DISK BUFFERS UNREFERENCED
  3807.     AX = 120Eh
  3808.     SS = DOS DS (must be using a DOS internal stack)
  3809. Return: DS:DI -> first disk buffer
  3810. Notes:    clears "referenced" flag on all disk buffers
  3811.     in DOS 5+, this has become essentially a NOP, invoking the same code
  3812.       used by AX=1224h (SHARING DELAY)
  3813. SeeAlso: AX=1209h,AX=1210h,INT 21/AH=0Dh
  3814. --------D-2F120F-----------------------------
  3815. INT 2F U - DOS 3.0+ internal - MAKE BUFFER MOST RECENTLY USED
  3816.     AX = 120Fh
  3817.     DS:DI -> disk buffer
  3818.     SS = DOS DS (must be using a DOS internal stack)
  3819. Return: DS:DI -> next buffer in buffer list
  3820. Desc:    move the indicated buffer to the end of the disk buffer chain (least-
  3821.       recently used is first); under DOS 3.3, the buffer is then moved to
  3822.       the start of the disk buffer chain if it was marked unused
  3823. Note:    this function is the same as AX=1207h except that it returns a
  3824.       pointer to the buffer following the specified buffer in the buffer
  3825.       chain
  3826. SeeAlso: AX=1207h
  3827. --------D-2F1210-----------------------------
  3828. INT 2F U - DOS 3.0+ internal - FIND UNREFERENCED DISK BUFFER
  3829.     AX = 1210h
  3830.     DS:DI -> first disk buffer to check
  3831. Return: ZF clear if found
  3832.         DS:DI -> first unreferenced disk buffer
  3833.     ZF set if not found
  3834. Note:    in DOS 5+, this has become essentially a NOP, invoking the same code
  3835.       used by AX=1224h (SHARING DELAY)
  3836. SeeAlso: AX=120Eh
  3837. --------D-2F1211-----------------------------
  3838. INT 2F U - DOS 3.0+ internal - NORMALIZE ASCIZ FILENAME
  3839.     AX = 1211h
  3840.     DS:SI -> ASCIZ filename to normalize
  3841.     ES:DI -> buffer for normalized filename
  3842. Return: destination buffer filled with uppercase filename, with slashes turned
  3843.     to backslashes
  3844. SeeAlso: AX=121Eh,AX=1221h
  3845. --------D-2F1212-----------------------------
  3846. INT 2F U - DOS 3.0+ internal - GET LENGTH OF ASCIZ STRING
  3847.     AX = 1212h
  3848.     ES:DI -> ASCIZ string
  3849. Return: CX = length of string
  3850. SeeAlso: AX=1225h
  3851. --------D-2F1213-----------------------------
  3852. INT 2F U - DOS 3.0+ internal - UPPERCASE CHARACTER
  3853.     AX = 1213h
  3854.     STACK: WORD character to convert to uppercase
  3855. Return: AL = uppercase character
  3856.     STACK unchanged
  3857. --------D-2F1214-----------------------------
  3858. INT 2F U - DOS 3.0+ internal - COMPARE FAR POINTERS
  3859.     AX = 1214h
  3860.     DS:SI = first pointer
  3861.     ES:DI = second pointer
  3862. Return: ZF set if pointers are equal, ZF clear if not equal
  3863.     CF clear if pointers equal, CF set if not
  3864. --------D-2F1215-----------------------------
  3865. INT 2F U - DOS 3.0+ internal - FLUSH BUFFER
  3866.     AX = 1215h
  3867.     DS:DI -> disk buffer
  3868.     SS = DOS DS (must be using a DOS internal stack)
  3869.     STACK: WORD drives for which to skip buffer
  3870.         ignore buffer if drive same as high byte, or bytes differ and
  3871.           the buffer is for a drive OTHER than that given in low byte
  3872. Return: STACK unchanged
  3873. Note:    can be called only from within DOS
  3874. SeeAlso: AX=1209h
  3875. --------D-2F1216-----------------------------
  3876. INT 2F U - DOS 3.0+ internal - GET ADDRESS OF SYSTEM FILE TABLE ENTRY
  3877.     AX = 1216h
  3878.     BX = system file table entry number
  3879. Return: CF clear if successful
  3880.         ES:DI -> system file table entry
  3881.         BX = relative entry number in system file table containing entry
  3882.         AX destroyed
  3883.     CF set if BX greater than FILES=
  3884. Note:    supported by DR DOS 5+
  3885. SeeAlso: AX=1220h
  3886. --------D-2F1217-----------------------------
  3887. INT 2F U - DOS 3.0+ internal - GET CURRENT DIRECTORY STRUCTURE FOR DRIVE
  3888.     AX = 1217h
  3889.     SS = DOS DS (must be using a DOS internal stack)
  3890.     STACK: WORD drive (0 = A:, 1 = B:, etc)
  3891. Return: CF set on error
  3892.         (drive > LASTDRIVE)
  3893.     CF clear if successful
  3894.         DS:SI -> current directory structure for specified drive
  3895.     STACK unchanged
  3896. SeeAlso: AX=1219h
  3897. --------D-2F1218-----------------------------
  3898. INT 2F U - DOS 3.0+ internal - GET CALLER'S REGISTERS
  3899.     AX = 1218h
  3900. Return: DS:SI -> saved caller's AX,BX,CX,DX,SI,DI,BP,DS,ES (on stack)
  3901. Note:    only valid while within DOS
  3902. --------D-2F1219-----------------------------
  3903. INT 2F U - DOS 3.0+ internal - SET DRIVE???
  3904.     AX = 1219h
  3905.     SS = DOS DS (must be using a DOS internal stack)
  3906.     STACK: WORD drive (0 = default, 1 = A:, etc)
  3907. Return: ???
  3908.     STACK unchanged
  3909. Notes:    calls AX=1217h
  3910.     builds a current directory structure if inside server call
  3911.       (INT 21/AX=5D00h)
  3912. SeeAlso: AX=1217h,AX=121Fh
  3913. --------D-2F121A-----------------------------
  3914. INT 2F U - DOS 3.0+ internal - GET FILE'S DRIVE
  3915.     AX = 121Ah
  3916.     DS:SI -> filename
  3917. Return: AL = drive (0 = default, 1 = A:, etc, FFh = invalid)
  3918.     DS:SI -> filename without leading X: (if present)
  3919. SeeAlso: INT 21/AH=19h,INT 21/AH=60h
  3920. --------D-2F121B-----------------------------
  3921. INT 2F U - DOS 3.0+ internal - SET YEAR/LENGTH OF FEBRUARY
  3922.     AX = 121Bh
  3923.     CL = year - 1980
  3924. Return: AL = number of days in February
  3925. Note:    requires DS to be set to the DOS data segment
  3926. SeeAlso: INT 21/AH=2Bh"DATE"
  3927. --------D-2F121C-----------------------------
  3928. INT 2F U - DOS 3.0+ internal - CHECKSUM MEMORY
  3929.     AX = 121Ch
  3930.     DS:SI -> start of memory to checksum
  3931.     CX = number of bytes
  3932.     DX = initial checksum
  3933.     SS = DOS DS (must be using a DOS internal stack)
  3934. Return: AX, CX destroyed
  3935.     DX = checksum
  3936.     DS:SI -> first byte after checksummed range
  3937. Notes:    used by DOS to determine day count since 1/1/80 given a date
  3938.     supported by DR DOS 5.0+
  3939. SeeAlso: AX=121Dh
  3940. --------D-2F121D-----------------------------
  3941. INT 2F U - DOS 3.0+ internal - SUM MEMORY
  3942.     AX = 121Dh
  3943.     DS:SI -> memory to add up
  3944.     CX = 0000h
  3945.     DX = limit
  3946. Return: AL = byte which exceeded limit
  3947.     CX = number of bytes before limit exceeded
  3948.     DX = remainder after adding first CX bytes
  3949.     DS:SI -> byte beyond the one which exceeded the limit
  3950. Notes:    used by DOS to determine year or month given day count since 1/1/80
  3951.     supported by DR DOS 5.0+
  3952. SeeAlso: AX=121Ch
  3953. --------D-2F121E-----------------------------
  3954. INT 2F U - DOS 3.0+ internal - COMPARE FILENAMES
  3955.     AX = 121Eh
  3956.     DS:SI -> first ASCIZ filename
  3957.     ES:DI -> second ASCIZ filename
  3958. Return: ZF set if filenames equivalent, ZF clear if not
  3959. Note:    supported by DR DOS 5.0+
  3960. SeeAlso: AX=1211h,AX=1221h
  3961. --------D-2F121F-----------------------------
  3962. INT 2F U - DOS 3.0+ internal - BUILD CURRENT DIRECTORY STRUCTURE
  3963.     AX = 121Fh
  3964.     SS = DOS DS (must be using a DOS internal stack)
  3965.     STACK: WORD drive letter
  3966. Return: ES:DI -> current directory structure (will be overwritten by next call)
  3967.     STACK unchanged
  3968. --------D-2F1220-----------------------------
  3969. INT 2F U - DOS 3.0+ internal - GET JOB FILE TABLE ENTRY
  3970.     AX = 1220h
  3971.     BX = file handle
  3972. Return: CF set on error
  3973.         AL = 6 (invalid file handle)
  3974.     CF clear if successful
  3975.         ES:DI -> JFT entry for file handle in current process
  3976. Notes:    the byte pointed at by ES:DI contains the number of the SFT for the
  3977.       file handle, or FFh if the handle is not open
  3978.     supported by DR DOS 5.0+
  3979. SeeAlso: AX=1216h,AX=1229h
  3980. --------D-2F1221-----------------------------
  3981. INT 2F U - DOS 3.0+ internal - CANONICALIZE FILE NAME
  3982.     AX = 1221h
  3983.     DS:SI -> file name to be fully qualified
  3984.     ES:DI -> 128-byte buffer for resulting canonical file name
  3985.     SS = DOS DS (must be using a DOS internal stack)
  3986. Return: (see INT 21/AH=60h)
  3987. Note:    identical to INT 21/AH=60h
  3988. SeeAlso: AX=1123h,INT 21/AH=60h
  3989. --------D-2F1222-----------------------------
  3990. INT 2F U - DOS 3.0+ internal - SET EXTENDED ERROR INFO
  3991.     AX = 1222h
  3992.     SS = DOS data segment
  3993.     SS:SI -> 4-byte records
  3994.         BYTE    error code, FFh = last record
  3995.         BYTE    error class, FFh = don't change
  3996.         BYTE    suggested action, FFh = don't change
  3997.         BYTE    error locus, FFh = don't change
  3998.     SDA error code set
  3999. Return: SI destroyed
  4000.     SDA error class, error locus, and suggested action fields set
  4001. Note:    can be called only from within DOS
  4002. SeeAlso: AX=122Dh,INT 21/AH=59h/BX=0000h,INT 21/AX=5D0Ah
  4003. --------D-2F1223-----------------------------
  4004. INT 2F U - DOS 3.0+ internal - CHECK IF CHARACTER DEVICE
  4005.     AX = 1223h
  4006.     DS = DOS DS
  4007.     SS = DOS DS (must be using a DOS internal stack)
  4008.     SDA+218h (DOS 3.10-3.30) = eight-character blank-padded name
  4009.     SDA+22Bh (DOS 4.0-6.0) = eight-character blank-padded name
  4010. Return: CF set if no character device by that name found
  4011.     CF clear if found
  4012.         BH = low byte of device attribute word
  4013. Note:    can only be called from within DOS
  4014. SeeAlso: INT 21/AX=5D06h,INT 21/AX=5D0Bh
  4015. --------D-2F1224-----------------------------
  4016. INT 2F U - DOS 3.0+ internal - SHARING RETRY DELAY
  4017.     AX = 1224h
  4018.     SS = DOS DS (must be using a DOS internal stack)
  4019. Return: after delay set by INT 21/AX=440Bh, unless in server call
  4020.       (INT 21/AX=5D00h)
  4021. Note:    delay is dependent on the processor speed, and is skipped entirely if
  4022.       inside a server call
  4023. SeeAlso: INT 21/AX=440Bh,INT 21/AH=52h,INT 62/AX=0097h
  4024. --------D-2F1225-----------------------------
  4025. INT 2F U - DOS 3.0+ internal - GET LENGTH OF ASCIZ STRING
  4026.     AX = 1225h
  4027.     DS:SI -> ASCIZ string
  4028. Return: CX = length of string
  4029. Note:    supported by DR DOS 5.0+
  4030. SeeAlso: AX=1212h
  4031. --------D-2F1226-----------------------------
  4032. INT 2F U - DOS 3.3+ internal - OPEN FILE
  4033.     AX = 1226h
  4034.     CL = access mode
  4035.     DS:DX -> ASCIZ filename
  4036.     SS = DOS DS (must be using a DOS internal stack)
  4037. Return: CF set on error
  4038.         AL = error code (see #1332 at INT 21/AH=59h/BX=0000h)
  4039.     CF clear if successful
  4040.         AX = file handle
  4041. Notes:    can only be called from within DOS
  4042.     equivalent to INT 21/AH=3Dh
  4043.     used by NLSFUNC to access COUNTRY.SYS when invoked by the DOS kernel
  4044. SeeAlso: AX=1227h,INT 21/AH=3Dh
  4045. --------D-2F1227-----------------------------
  4046. INT 2F U - DOS 3.3+ internal - CLOSE FILE
  4047.     AX = 1227h
  4048.     BX = file handle
  4049.     SS = DOS DS (must be using a DOS internal stack)
  4050. Return: CF set on error
  4051.         AL = 06h invalid file handle
  4052.     CF clear if successful
  4053. Notes:    can only be called from within DOS
  4054.     equivalent to INT 21/AH=3Eh
  4055.     used by NLSFUNC to access COUNTRY.SYS when invoked by the DOS kernel
  4056. SeeAlso: AX=1106h,AX=1201h,AX=1226h,INT 21/AH=3Eh
  4057. --------D-2F1228BP4200-----------------------
  4058. INT 2F U - DOS 3.3+ internal - MOVE FILE POINTER
  4059.     AX = 1228h
  4060.     BP = 4200h, 4201h, 4202h (see INT 21/AH=42h)
  4061.     BX = file handle
  4062.     CX:DX = offset in bytes
  4063.     SS = DOS DS (must be using a DOS internal stack)
  4064. Return: as for INT 21/AH=42h
  4065. Notes:    equivalent to INT 21/AH=42h, but may only be called from inside a DOS
  4066.       function call
  4067.     sets user stack frame pointer to dummy buffer, moves BP to AX, performs
  4068.       LSEEK, and restores frame pointer
  4069.     used by NLSFUNC to access COUNTRY.SYS when invoked by the DOS kernel
  4070. SeeAlso: INT 21/AH=42h
  4071. --------D-2F1229-----------------------------
  4072. INT 2F U - DOS 3.3+ internal - READ FROM FILE
  4073.     AX = 1229h
  4074.     BX = file handle
  4075.     CX = number of bytes to read
  4076.     DS:DX -> buffer
  4077.     SS = DOS DS (must be using a DOS internal stack)
  4078. Return: as for INT 21/AH=3Fh"DOS"
  4079. Notes:    equivalent to INT 21/AH=3Fh, but may only be called when already inside
  4080.       a DOS function call
  4081.     used by NLSFUNC to access COUNTRY.SYS when invoked by the DOS kernel
  4082. SeeAlso: AX=1226h,INT 21/AH=3Fh"DOS"
  4083. --------D-2F122A-----------------------------
  4084. INT 2F U - DOS 3.3+ internal - SET FASTOPEN ENTRY POINT
  4085.     AX = 122Ah
  4086.     BX = entry point to set (0001h or 0002h)
  4087.     DS:SI -> FASTOPEN entry point (see #2265,#2266)
  4088.         (entry point not set if SI = FFFFh for DOS 4.0+)
  4089. Return: CF set if specified entry point already set
  4090. Notes:    entry point in BX is ignored under DOS 3.30
  4091.     both entry points set to same handler by DOS 4.01
  4092.     DOS 5.0 and 6.0 only set entry point 1
  4093.  
  4094. (Table 2265)
  4095. Values DOS 3.30+ FASTOPEN entry point is called with:
  4096.     AL = 01h  Lookup
  4097.         CX = ??? seems to be offset
  4098.         DI = ??? seems to be offset
  4099.         SI = offset in DOS DS of filename
  4100.     AL = 02h  insert file into FASTOPEN cache
  4101.     AL = 03h  delete file from FASTOPEN cache
  4102.         SI = offset in DOS DS of filename
  4103.     AL = 04h  purge FASTOPEN cache
  4104.         AH = subfunction (00h,01h,02h)
  4105.         ES:DI -> ???
  4106.         CX = ??? (subfunctions 01h and 02h only)
  4107. Returns: CF set on error or not installed
  4108. Note: function 03h calls function 01h first
  4109. SeeAlso: #2266,#2267
  4110.  
  4111. (Table 2266)
  4112. Values PC-DOS 4.01 FASTOPEN is additionally called with:
  4113.     AL = 04h ???
  4114.         AH = 03h
  4115.         ???
  4116.     AL = 05h ???
  4117.     AL = 0Bh ???
  4118.     AL = 0Ch ???
  4119.     AL = 0Dh ???
  4120.     AL = 0Eh ???
  4121.     AL = 0Fh ???
  4122.     AL = 10h ???
  4123. SeeAlso: #2265,#2267
  4124.  
  4125. (Table 2267)
  4126. Values MS-DOS 5.0-6.0 FASTOPEN is additionally called with:
  4127.     AL = 04h  purge FASTOPEN cache
  4128.         AH = 03h
  4129.         ???
  4130.     AL = 05h ???
  4131.         DL = drive (00h = A:)
  4132.         ???
  4133.     AL = 06h ???
  4134.         ???
  4135. SeeAlso: #2265,#2266
  4136. --------D-2F122B-----------------------------
  4137. INT 2F U - DOS 3.3+ internal - IOCTL
  4138.     AX = 122Bh
  4139.     BP = 44xxh
  4140.     SS = DOS DS (must be using a DOS internal stack)
  4141.     additional registers as appropriate for INT 21/AX=44xxh
  4142. Return: as for INT 21/AH=44h
  4143. Notes:    equivalent to INT 21/AH=44h, but may only be called when already inside
  4144.       a DOS function call
  4145.     sets user stack frame pointer to dummy buffer, moves BP to AX, performs
  4146.       IOCTL, and restores frame pointer
  4147.     used by NLSFUNC in accessing COUNTRY.SYS when invoked by the DOS kernel
  4148. SeeAlso: INT 21/AH=44h
  4149. --------D-2F122C-----------------------------
  4150. INT 2F U - DOS 3.3+ internal - GET DEVICE CHAIN
  4151.     AX = 122Ch
  4152. Return: BX:AX -> header of second device driver (NUL is first) in driver chain
  4153. Note:    although this function exists in DR DOS 5.0 and Novell DOS 7, it
  4154.       always returns 0000h:0000h prior to Novell DOS 7 Update 15
  4155. SeeAlso: INT 21/AH=52h
  4156. --------D-2F122D-----------------------------
  4157. INT 2F U - DOS 3.3+ internal - GET EXTENDED ERROR CODE
  4158.     AX = 122Dh
  4159.     SS = DOS DS
  4160. Return: AX = current extended error code
  4161. SeeAlso: AX=1222h,INT 21/AH=59h/BX=0000h
  4162. --------D-2F122E-----------------------------
  4163. INT 2F U - DOS 4.0+ internal - GET OR SET ERROR TABLE ADDRESSES
  4164.     AX = 122Eh
  4165.     DL = subfunction
  4166.         00h get standard DOS error table (see #2268)
  4167.         Return: ES:DI -> error table
  4168.                  (DOS 4: errors 00h-12h,50h-5Bh)
  4169.                  (DOS 5: errors 00h-26h,4Fh,51h-59h)
  4170.         01h set standard DOS error table
  4171.         ES:DI -> error table
  4172.         02h get parameter error table (errors 00h-0Ah)
  4173.         Return: ES:DI -> error table
  4174.         03h set parameter error table
  4175.         ES:DI -> error table
  4176.         04h get critical/SHARE error table (errors 13h-2Bh)
  4177.         Return: ES:DI -> error table
  4178.         05h set critical/SHARE error table
  4179.         ES:DI -> error table
  4180.         06h get ??? error table
  4181.         Return: ES:DI -> error table or 0000h:0000h
  4182.         07h set ??? error table
  4183.         ES:DI -> error table
  4184.         08h get error message retriever (see #2269)
  4185.         Return: ES:DI -> FAR procedure to fetch error message
  4186.         09h set ??? error table
  4187.         ES:DI -> error table
  4188. Notes:    if the returned segment on a "get" is 0001h, then the offset specifies
  4189.       the offset of the error message table within COMMAND.COM, and the
  4190.       procedure returned by DL=08h should be called
  4191.     DOS 5+ COMMAND.COM does not allow setting any of the addresses (calls
  4192.       with DL odd are ignored); they are always returned with segment 0001h
  4193.     for DOS 5.0, the standard and critical/SHARE error tables are combined
  4194.       into a single error table
  4195. SeeAlso: AX=0500h,INT 21/AH=59h/BX=0000h
  4196.  
  4197. Format of DOS 4.x error table:
  4198. Offset    Size    Description    (Table 2268)
  4199.  00h    BYTE    FFh
  4200.  01h  2 BYTEs    04h,00h (DOS version???)
  4201.  03h    BYTE    number of error headers following
  4202.  04h 2N WORDs    table of all error headers for table
  4203.         Offset    Size    Description
  4204.          00h    WORD    error message number
  4205.          02h    WORD    offset of error message from start of header
  4206.                 error messages are count byte followed by msg
  4207. Note:    DOS 5 error tables consist of one word per error number; each word
  4208.       contains either the offset of a counted string or 0000h
  4209.  
  4210. (Table 2269)
  4211. Call error retrieval function with:
  4212.     AX = error number (see #2270)
  4213.     DI = offset of error table
  4214. Return: ES:DI -> error message (counted string)
  4215. Notes:    this function needs to access COMMAND.COM if the messages were not
  4216.       loaded into memory permanently with /MSG; the caller should assume
  4217.       that the returned message will be overwritten by the next call of
  4218.       the function
  4219.     supported by DR DOS 5.0
  4220.  
  4221. (Table 2270)
  4222. Values for parameter errors:
  4223.  01h    Too many parameters
  4224.  02h    Required Parameter missing
  4225.  03h    Invalid switch
  4226.  04h    Invalid keyword
  4227.  06h    Parameter value not in allowed range
  4228.  07h    Parameter value not allowed
  4229.  08h    Parameter value not allowed
  4230.  09h    Parameter format not correct
  4231.  0Ah    Invalid parameter
  4232.  0Bh    Invalid parameter combination
  4233. --------D-2F122F-----------------------------
  4234. INT 2F U - DOS 4.x internal - SET DOS VERSION NUMBER TO RETURN
  4235.     AX = 122Fh
  4236.     DX = DOS version number (0000h = return true DOS version)
  4237. Note:    not available under DR DOS 5.0 or 6.0
  4238. SeeAlso: INT 21/AH=30h,INT 21/AX=3306h
  4239. --------O-2F12FFBL00-------------------------
  4240. INT 2F - FreeDOS - FDAK-DDT - INSTALLATION CHECK / STATUS CHECK
  4241.     AX = 12FFh
  4242.     BL = 00h
  4243. Return: AL = DDh if installed
  4244.         BH = state (00h disabled, nonzero enabled)
  4245.         BL = readonly flag (00h writable, nonzero read-only)
  4246. Program: FDAK-DDT is the FreeDOS Alternative Kernel Device Drivers Testing
  4247.       release by Yury A. Semenov
  4248. SeeAlso: AX=12FFh/BL=07h
  4249. --------O-2F12FFBL01-------------------------
  4250. INT 2F - FreeDOS - FDAK-DDT - ENABLE FDAK DRIVERS
  4251.     AX = 12FFh
  4252.     BL = 01h
  4253. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=02h
  4254. --------O-2F12FFBL02-------------------------
  4255. INT 2F - FreeDOS - FDAK-DDT - DISABLE FDAK DRIVERS
  4256.     AX = 12FFh
  4257.     BL = 02h
  4258. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=01h
  4259. --------O-2F12FFBL03-------------------------
  4260. INT 2F - FreeDOS - FDAK-DDT - SWITCH BLOCK DEVICE TO READ-ONLY
  4261.     AX = 12FFh
  4262.     BL = 03h
  4263.     ???
  4264. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=04h
  4265. --------O-2F12FFBL04-------------------------
  4266. INT 2F - FreeDOS - FDAK-DDT - SWITCH BLOCK DEVICE TO READ-WRITE
  4267.     AX = 12FFh
  4268.     BL = 04h
  4269.     ???
  4270. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=03h
  4271. --------O-2F12FFBL05-------------------------
  4272. INT 2F - FreeDOS - FDAK-DDT - TURN ACTIVITY INDICATOR ON
  4273.     AX = 12FFh
  4274.     BL = 05h
  4275. Note:    not yet implemented as of January 1996
  4276. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=06h
  4277. --------O-2F12FFBL06-------------------------
  4278. INT 2F - FreeDOS - FDAK-DDT - TURN ACTIVITY INDICATOR OFF
  4279.     AX = 12FFh
  4280.     BL = 06h
  4281. Note:    not yet implemented as of January 1996
  4282. SeeAlso: AX=12FFh/BL=00h,AX=12FFh/BL=05h
  4283. --------O-2F12FFBL07-------------------------
  4284. INT 2F - FreeDOS - FDAK-DDT - UNINSTALL
  4285.     AX = 12FFh
  4286.     BL = 07h
  4287. Return: ES = segment of FDAK memory block
  4288. Note:    the caller must free the memory block returned in ES
  4289.       (via INT 21/AH=49h)
  4290. SeeAlso: AX=12FFh/BL=00h
  4291. --------m-2F12FFBX0006-----------------------
  4292. INT 2F U - DR DOS 6, Novell DOS 7 - EMM386.EXE - VIDEO MEMORY SPACE CONTROL
  4293.     AX = 12FFh
  4294.     BX = 0006h
  4295.     DX = 0000h
  4296.     CX = function
  4297.         0000h get status of video memory space (MEMMAX /V)
  4298.         0001h map memory into video memory space (MEMMAX +V)
  4299.         0002h unmap memory from video memory space (MEMMAX -V)
  4300. Return: CF clear if successful
  4301.         AX = 0000h (successful)
  4302.         BX = segment of reserved video RAM
  4303.         CX = segment of used video RAM
  4304.         DX = segment of first upper MCB
  4305. Notes:    this functionality is provided by EMM386, and partially supported by
  4306.       HIDOS.SYS
  4307.     BL specifies which program handles the call, BH is the function number
  4308. SeeAlso: AX=D201h/BX=4849h
  4309. --------O-2F12FFBX0000-----------------------
  4310. INT 2F U - Novell DOS 7 - GET ???
  4311.     AX = 12FFh
  4312.     BX = 0000h
  4313. Return: AX = 0000h if supported
  4314.     DX = ??? (internal data)
  4315. SeeAlso: AX=12FFh/BX=0001h
  4316. --------O-2F12FFBX0001-----------------------
  4317. INT 2F U - Novell DOS 7 - SET ???
  4318.     AX = 12FFh
  4319.     BX = 0001h
  4320.     DX = new value for ???
  4321. Return: AX = 0000h if supported
  4322. SeeAlso: AX=12FFh/BX=0000h
  4323. --------O-2F12FFBX0002-----------------------
  4324. INT 2F U - Novell DOS 7 - GET ??? SIZE
  4325.     AX = 12FFh
  4326.     BX = 0002h
  4327. Return: AX = 0000h if supported
  4328.     DX = size of/required-for ??? in paragraphs
  4329. SeeAlso: AX=12FFh/BX=0003h
  4330. --------O-2F12FFBX0003-----------------------
  4331. INT 2F U - Novell DOS 7 - SET ???
  4332.     AX = 12FFh
  4333.     BX = 0003h
  4334.     DX = new value for ???
  4335. Return: AX = 0000h if supported
  4336. SeeAlso: AX=12FFh/BX=0002h
  4337. --------O-2F12FFBX0007-----------------------
  4338. INT 2F U - Novell DOS 7 - SCRIPT.EXE - GET ???
  4339.     AX = 12FFh
  4340.     BX = 0007h
  4341.     CX = 0000h
  4342. Return: CF clear if installed
  4343.         AX = 0000h
  4344.         BX = ??? (4426h)
  4345.         CX = ??? (0068h)
  4346.         DX = PSP segment of resident code???
  4347.         SI = ??? (4AFAh)
  4348.         ES = resident code segment
  4349. --------O-2F12FFBX0009-----------------------
  4350. INT 2F U - Novell DOS 7 - SET ???
  4351.     AX = 12FFh
  4352.     BX = 0009h
  4353.     DX = new value for ???
  4354. Return: ???
  4355. Note:    the DX value is stored at offset 66h in SYSVARS and offset 18h in
  4356.       the Novell DOS 7 internal variable table
  4357. --------m-2F12FFBX0106-----------------------
  4358. INT 2F U - Novell DOS 7 - EMM386.EXE - GET VERSION???
  4359.     AX = 12FFh
  4360.     BX = 0106h
  4361. Return: CF clear if successful
  4362.         AX = 0000h (successful)
  4363.         BX = EDC0h (signature)
  4364.         CL = memory manager variant (02h,03h)
  4365.         (02h when DPMI/VCPI disabled, 03h when DPMI/VCPI loaded)
  4366.         CH = ??? (00h)
  4367.         DX = version??? (0300h for v3.0)
  4368.         ES = segment of EMM386 low-memory stub
  4369. Notes:    BL specifies which program handles the call, BH is the function number
  4370.     if the word at ES:0012h is nonzero, if contains the offset within
  4371.       segment ES of the CEMM-compatible entry point (see #2271)
  4372.     if no other program has hooked INT 67, an alternate installation
  4373.       check is to test for the string
  4374.       "NOVELL EXPANDED MEMORY MANAGER 386" at offset 14h in the INT 67
  4375.       handler's segment; the word immediately preceding this string
  4376.       contains the offset of the API entry point if it is nonzero
  4377. Index:    entry point;Novell EMM386
  4378.  
  4379. (Table 2271)
  4380. Call Novell EMM386.EXE entry point with:
  4381.     AH = 00h get memory manager's status???
  4382.         ???
  4383.     AH = 01h set memory manager's status???
  4384.         ???
  4385.     AH = 02h Weitek coprocessor support???
  4386.         AL = subfunction???
  4387.     more functions???
  4388. SeeAlso: #1166 at INT 21/AX=4402h/SF=02h,#3298 at INT 67/AX=FFA5h
  4389. --------m-2F12FFBL06-------------------------
  4390. INT 2F U - Novell DOS 7 - EMM386.EXE - ???
  4391.     AX = 12FFh
  4392.     BL = 06h
  4393.     BH = function (02h-09h)
  4394.     ???
  4395. Return: ???
  4396. --------O-2F12FFBX0EDC-----------------------
  4397. INT 2F U - Novell DOS 7 - EMM386.EXE - CHECK IF MULTITASKING SUPPORT LOADED???
  4398.     AX = 12FFh
  4399.     BX = 0EDCh ('EDC' = Novell European Development Center)
  4400. Return: AX = 0000h if ??? loaded
  4401.         CF clear
  4402.         BX = 0000h
  4403. Notes:    called by Novell DOS 7 TaskMgr
  4404.     if this function returns with AX=0000h, then the code necessary to
  4405.       support the API on INT 2F/AX=2780h is loaded and that API becomes
  4406.       available for use
  4407.     because the request is handled on the initial trap to the memory
  4408.       manager caused by INT instructions, this function must be invoked
  4409.       with an actual INT 2F instruction instead of some simulation such
  4410.       as a far call to the address in the interrupt vector table
  4411. SeeAlso: AX=2780h/CL=01h,AX=2780h/CL=02h,AX=2780h/CL=03h,AX=2780h/CL=04h
  4412. --------D-2F13-------------------------------
  4413. INT 2F U - DOS 3.2+ - SET DISK INTERRUPT HANDLER
  4414.     AH = 13h
  4415.     DS:DX -> interrupt handler disk driver calls on read/write
  4416.     ES:BX = address to restore INT 13 to on system halt (exit from root
  4417.          shell) or warm boot (INT 19)
  4418. Return: DS:DX set by previous invocation of this function
  4419.     ES:BX set by previous invocation of this function
  4420. Notes:    IO.SYS hooks INT 13 and inserts one or more filters ahead of the
  4421.       original INT 13 handler.  The first is for disk change detection
  4422.       on floppy drives, the second is for tracking formatting calls and
  4423.       correcting DMA boundary errors, the third is for working around
  4424.       problems in a particular version of IBM's ROM BIOS
  4425.     before the first call, ES:BX points at the original BIOS INT 13; DS:DX
  4426.       also points there unless IO.SYS has installed a special filter for
  4427.       hard disk reads (on systems with model byte FCh and BIOS date
  4428.       "01/10/84" only), in which case it points at the special filter
  4429.     most DOS 3.2+ disk access is via the vector in DS:DX, although a few
  4430.       functions are still invoked via an INT 13 instruction
  4431.     this is a dangerous security loophole for any virus-monitoring software
  4432.       which does not trap this call ("INT13", "Nomenklatura", and many
  4433.       Bulgarian viruses are known to use it to get the original ROM entry
  4434.       point)
  4435. SeeAlso: INT 13/AH=01h,INT 19,INT 9D"VIRUS"
  4436. --------N-2F13-------------------------------
  4437. INT 2F U - MS-NET - ???
  4438.     AH = 13h
  4439.     ???
  4440. Return: ???
  4441. Note:    supposedly used to move (or control the movement of) NCBs
  4442. --------U-2F1400-----------------------------
  4443. INT 2F C - NLSFUNC.COM - INSTALLATION CHECK
  4444.     AX = 1400h
  4445. Return: AL = 00h not installed, OK to install
  4446.          01h not installed, not OK
  4447.          FFh installed
  4448. Notes:    this function is called by the DOS v3.3+ kernel
  4449.     supported by OS/2 v1.3+ compatibility box, which always returns AL=FFh
  4450.     supported by DR DOS 5.0
  4451.     documented for MS-DOS 5+, but undocumented in prior versions
  4452. SeeAlso: AX=1401h"NLSFUNC",AX=1402h"NLSFUNC"
  4453. --------D-2F1400-----------------------------
  4454. INT 2F - European MS-DOS 4.0 POPUP - "CheckPu" - INSTALLATION CHECK
  4455.     AX = 1400h
  4456. Return: AX = FFFFh if installed
  4457.         BX = maximum memory required to save screen and keyboard info
  4458.     CF clear if successful
  4459.     CF set on error
  4460.         AX = error code
  4461.         0002h invalid function
  4462.         0004h unknown error
  4463. Note:    the POPUP interface is used by background programs (see INT 21/AH=80h)
  4464.       to communicate with the user
  4465. SeeAlso: AX=1401h"POPUP",AX=1402h"POPUP",AX=1403h"POPUP"
  4466. --------U-2F1401-----------------------------
  4467. INT 2F CU - NLSFUNC.COM - CHANGE CODE PAGE
  4468.     AX = 1401h
  4469.     DS:SI -> internal code page structure (see #2272)
  4470.     BX = new code page (see #1411 at INT 21/AX=6602h)
  4471.     DX = country code???
  4472. Return: AL = status
  4473.          00h successful
  4474.          else DOS error code
  4475. Note:    this function is called by the DOS v3.3+ kernel
  4476. SeeAlso: AX=1400h"NLSFUNC",AX=1402h"NLSFUNC",INT 21/AH=66h
  4477.  
  4478. Format of DOS 3.30 internal code page structure:
  4479. Offset    Size    Description    (Table 2272)
  4480.  00h  8 BYTEs    ???
  4481.  08h 64 BYTEs    name of country information file
  4482.  48h    WORD    system code page (see #1411 at INT 21/AX=6602h)
  4483.  4Ah    WORD    number of supported subfunctions
  4484.  4Ch  5 BYTEs    data to return for INT 21/AX=6502h
  4485.  51h  5 BYTEs    data to return for INT 21/AX=6504h
  4486.  56h  5 BYTEs    data to return for INT 21/AX=6505h
  4487.  5Bh  5 BYTEs    data to return for INT 21/AX=6506h
  4488.  60h 41 BYTEs    data to return for INT 21/AX=6501h
  4489. --------D-2F1401-----------------------------
  4490. INT 2F - European MS-DOS 4.0 POPUP - "PostPu" - OPEN/CLOSE POPUP SCREEN
  4491.     AX = 1401h
  4492.     DL = function (00h open, 01h close)
  4493.     DH = wait flag
  4494.         00h block until screen opens
  4495.         01h return error if screen is not available
  4496.         02h urgent--always open screen immediately
  4497. Return: CF clear if successful
  4498.         BX = amount of memory needed to save screen and keyboard info,
  4499.         0000h if default save location can be used (only if DH was 02h)
  4500.     CF set on error
  4501. Note:    the application using the screen is frozen until the popup screen is
  4502.       closed
  4503. SeeAlso: AX=1400h"POPUP",AX=1402h"POPUP",AX=1403h"POPUP"
  4504. --------U-2F1402-----------------------------
  4505. INT 2F CU - NLSFUNC.COM - GET EXTENDED COUNTRY INFO
  4506.     AX = 1402h
  4507.     BP = subfunction (same as AL for INT 21/AH=65h)
  4508.     BX = code page (see #1411 at INT 21/AX=6602h)
  4509.     DX = country code (see #1054 at INT 21/AH=38h)
  4510.     DS:SI -> internal code page structure (see #2272)
  4511.     ES:DI -> user buffer
  4512.     CX = size of user buffer
  4513. Return: AL = status
  4514.         00h successful
  4515.         else DOS error code
  4516. Notes:    this function is called by the DOS v3.3+ kernel on INT 21/AH=65h
  4517.     code page structure apparently only needed for COUNTRY.SYS pathname
  4518. SeeAlso: AX=1401h"NLSFUNC",AX=1403h"NLSFUNC",AX=1404h,INT 21/AH=65h
  4519. --------D-2F1402-----------------------------
  4520. INT 2F - European MS-DOS 4.0 POPUP - "SavePu" - SAVE POPUP SCREEN
  4521.     AX = 1402h
  4522.     ES:DI -> save buffer (0000h:0000h for default buffer in POPUP)
  4523. Return: CF clear if successful
  4524.     CF set on error
  4525.         AX = error code (see #2273)
  4526. SeeAlso: AX=1400h"POPUP",AX=1401h"POPUP",AX=1403h"POPUP"
  4527.  
  4528. (Table 2273)
  4529. Values for POPUP error code:
  4530.  0001h    process does not own screen
  4531.  0004h    unknown error
  4532.  0005h    invalid pointer
  4533. --------U-2F1403-----------------------------
  4534. INT 2F CU - NLSFUNC.COM - SET CODE PAGE
  4535.     AX = 1403h
  4536.     DS:SI -> internal code page structure (see #2272)
  4537.     BX = code page (see #1411 at INT 21/AX=6602h)
  4538.     DX = country code (see #1054 at INT 21/AH=38h)
  4539. Return: AL = status
  4540.          ???
  4541. Note:    this function is called by the DOS v3.3+ kernel on INT 21/AH=38h
  4542. SeeAlso: AX=1402h"NLSFUNC",AX=1404h,INT 21/AH=38h"SET"
  4543. --------D-2F1403-----------------------------
  4544. INT 2F - European MS-DOS 4.0 POPUP - "RestorePu" - RESTORE SCREEN
  4545.     AX = 1403h
  4546.     ES:DI -> buffer containing saved screen
  4547.         (0000h:0000h for default buffer in POPUP)
  4548. Return: CF clear if successful
  4549.     CF set on error
  4550.         AX = error code (see #2273)
  4551. SeeAlso: AX=1400h"POPUP",AX=1401h"POPUP",AX=1402h"POPUP"
  4552. --------U-2F1404-----------------------------
  4553. INT 2F CU - NLSFUNC.COM - GET COUNTRY INFO
  4554.     AX = 1404h
  4555.     BX = code page (see #1411 at INT 21/AX=6602h)
  4556.     DX = country code (see #1054 at INT 21/AH=38h)
  4557.     DS:SI -> internal code page structure (see #2272)
  4558.     ES:DI -> user buffer
  4559. Return: AL = status
  4560.          ???
  4561. Notes:    this function is called by the DOS v3.3+ kernel on INT 21/AH=38h
  4562.     code page structure apparently only needed for COUNTRY.SYS pathname
  4563. SeeAlso: AX=1402h,AX=1403h,INT 21/AH=38h"GET"
  4564. --------U-2F14FE-----------------------------
  4565. INT 2F U - DR DOS 5.0 NLSFUNC - GET EXTENDED COUNTRY INFORMATION
  4566.     AX = 14FEh
  4567.     BX = code page (FFFFh=global code page) (see #1411 at INT 21/AX=6602h)
  4568.     DX = country ID (FFFFh=current country) (see #1054 at INT 21/AH=38h)
  4569.     ES:DI -> country information buffer
  4570.     CL = info ID
  4571.         01h get general internationalization info
  4572.         02h get pointer to uppercase table
  4573.         04h get pointer to filename uppercase table
  4574.         05h get pointer to filename terminator table
  4575.         06h get pointer to collating sequence table
  4576.         07h get pointer to Double-Byte Character Set table
  4577.     CF set (used to return error if not installed)
  4578. Return: CF clear if successful
  4579.         DS:SI -> requested information
  4580.     CF set on error
  4581. Notes:    DR DOS 5.0 NLSFUNC returns CF set and AX=0001h if AL was not 00h, FEh,
  4582.       or FFh on entry.
  4583.     the DR DOS kernel calls this function on INT 21/AX=6501h
  4584.     the value in CL is not range-checked by the DR DOS 5.0 NLSFUNC
  4585. SeeAlso: #2274,AX=14FFh,INT 21/AH=65h
  4586.  
  4587. Format of DR DOS COUNTRY.SYS file:
  4588. Offset    Size    Description    (Table 2274)
  4589.  00h 126 BYTEs    copyright notice (terminated with Ctrl-Z, padded with NULs)
  4590.  7Eh    WORD    signature EDC1h
  4591.  80h    var    country pointer records
  4592.     Offset    Size    Description
  4593.      00h    WORD    country code (0000h if end of array)
  4594.      02h    WORD    code page (see #1411 at INT 21/AX=6602h)
  4595.      04h    WORD    ??? (0000h)
  4596.      06h  7 WORDs    offsets in file for data tables for subfunctions
  4597.               01h-07h
  4598.  var    var    country information
  4599. --------U-2F14FF-----------------------------
  4600. INT 2F U - DR DOS 5.0 NLSFUNC - PREPARE CODE PAGE
  4601.     AX = 14FFh
  4602.     BX = code page (see #1411 at INT 21/AX=6602h)
  4603. Return: AX = ???
  4604.     ZF set if AX=0000h
  4605. Notes:    DR DOS 5.0 NLSFUNC returns CF set and AX=0001h if AL was not 00h, FEh,
  4606.       or FFh on entry.
  4607.     passes codepage preparation request to each character device supporting
  4608.       the generic IOCTL call
  4609. SeeAlso: AX=14FEh,INT 21/AX=440Ch,INT 21/AX=6602h
  4610. --------U-2F1500-----------------------------
  4611. INT 2F - DOS 4.00 GRAPHICS.COM - INSTALLATION CHECK
  4612.     AX = 1500h
  4613. Return: AX = FFFFh
  4614.     ES:DI -> ??? (graphics data?)
  4615. Note:    this installation check conflicts with the CD-ROM Extensions
  4616.       installation check; moved to AX=AC00h in later versions
  4617. SeeAlso: AX=AC00h
  4618. --------d-2F1500BX0000-----------------------
  4619. INT 2F - CD-ROM - INSTALLATION CHECK
  4620.     AX = 1500h
  4621.     BX = 0000h
  4622. Return: BX = number of CD-ROM drive letters used
  4623.     CX = starting drive letter (0=A:)
  4624. Notes:    this installation check DOES NOT follow the format used by other
  4625.       software
  4626.     this installation check conflicts with the DOS 4.00 GRAPHICS.COM
  4627.       installation check
  4628. BUG:    this function may return an incorrect starting drive letter when
  4629.       INTERLNK is installed
  4630. SeeAlso: AX=150Ch,AX=15FFh,INT 2F/AX=D000h"Lotus"
  4631. --------c-2F1500CH90-------------------------
  4632. INT 2F U - CDBLITZ v2.11 - INSTALLATION CHECK
  4633.     AX = 1500h
  4634.     CH = 90h (function number)
  4635.     BX = 1234h (magic value for CDBLITZ)
  4636. Return: CX = 1234h if installed
  4637.         CF clear
  4638.         DX = BCD version number (DH = major, DL = minor)
  4639. Program: CDBLITZ is a CD-ROM cache by Blitz 'n' Software, Inc.
  4640. SeeAlso: AX=1500h/CH=99h
  4641. --------c-2F1500CH91-------------------------
  4642. INT 2F U - CDBLITZ v2.11 - GET STATISTICS
  4643.     AX = 1500h
  4644.     CH = 91h (function number)
  4645.     BX = 1234h (magic value for CDBLITZ)
  4646. Return: CF clear
  4647.     ES:BX -> statistics record (see #2275)
  4648. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=97h
  4649.  
  4650. Format of CDBLITZ statistics record:
  4651. Offset    Size    Description    (Table 2275)
  4652.  00h    WORD    cache mode (see also AX=1500h/CH=94h)
  4653.         0001h 'min', 0002h 'max'
  4654.  02h    DWORD    number of read calls???
  4655.  06h    DWORD    total number of sectors read
  4656.  0Ah    DWORD    unused??? (zero)
  4657.  0Eh    DWORD    number of cache hit sectors
  4658.  12h    WORD    cache size in KB
  4659.  14h    WORD    unused??? (zero)
  4660.  16h    WORD    cache state (0000h disabled, 0001h enabled)
  4661. --------c-2F1500CH92-------------------------
  4662. INT 2F U - CDBLITZ v2.11 - ENABLE CACHE
  4663.     AX = 1500h
  4664.     CH = 92h (function number)
  4665.     BX = 1234h (magic value for CDBLITZ)
  4666. Return: CF clear
  4667. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=93h,AX=1500h/CH=94h
  4668. --------c-2F1500CH93-------------------------
  4669. INT 2F U - CDBLITZ v2.11 - DISABLE CACHE
  4670.     AX = 1500h
  4671.     CH = 93h (function number)
  4672.     BX = 1234h (magic value for CDBLITZ)
  4673. Return: CF clear
  4674. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=92h,AX=1500h/CH=95h
  4675. --------c-2F1500CH94-------------------------
  4676. INT 2F U - CDBLITZ v2.11 - SET 'MAX' MODE (CACHE BOTH DIRECTORIES AND DATA)
  4677.     AX = 1500h
  4678.     CH = 94h (function number)
  4679.     BX = 1234h (magic value for CDBLITZ)
  4680. Return: CF clear
  4681. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=92h,AX=1500h/CH=95h
  4682. --------c-2F1500CH95-------------------------
  4683. INT 2F U - CDBLITZ v2.11 - SET 'MIN' MODE (CACHE ONLY DIRECTORY ENTRIES)
  4684.     AX = 1500h
  4685.     CH = 95h (function number)
  4686.     BX = 1234h (magic value for CDBLITZ)
  4687. Return: CF clear
  4688. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=94h
  4689. --------c-2F1500CH96-------------------------
  4690. INT 2F U - CDBLITZ v2.11 - FLUSH CACHE
  4691.     AX = 1500h
  4692.     CH = 96h (function number)
  4693.     BX = 1234h (magic value for CDBLITZ)
  4694. Return: CF clear
  4695. Note:    this function resets the counts for number of sectors read and number
  4696.       of cache hits, but no other values in the statistics record
  4697.       (see #2275)
  4698. SeeAlso: AX=1500h/CH=90h
  4699. --------c-2F1500CH97-------------------------
  4700. INT 2F U - CDBLITZ v2.11 - GET CACHE STATISTICS
  4701.     AX = 1500h
  4702.     CH = 97h (function number)
  4703.     BX = 1234h (magic value for CDBLITZ)
  4704. Return: CF clear
  4705.     AL = cache mode (01h 'min', 02h 'max') (see also AX=1500h/CH=94h)
  4706.     AH = cache state (00h disabled, 01h enabled)
  4707.     BX = cache size in KB
  4708.     DX:CX = total number of reads
  4709.     DI:SI = number of cache hits
  4710. SeeAlso: AX=1500h/CH=90h,AX=1500h/CH=91h
  4711. --------c-2F1500CH99-------------------------
  4712. INT 2F U - CDBLITZ v2.11 - UNINSTALL
  4713.     AX = 1500h
  4714.     CH = 99h (function number)
  4715.     BX = 1234h (magic value for CDBLITZ)
  4716. Return: CF clear
  4717.     ???
  4718. Program: CDBLITZ is a CD-ROM cache by Blitz 'n' Software, Inc.
  4719. SeeAlso: AX=1500h/CH=90h
  4720. --------d-2F1501-----------------------------
  4721. INT 2F - CD-ROM - GET DRIVE DEVICE LIST
  4722.     AX = 1501h
  4723.     ES:BX -> buffer to hold drive letter list (5 bytes per drive letter)
  4724. Return: buffer filled, for each drive letter
  4725.       BYTE    subunit number in driver
  4726.       DWORD address of device driver header (see #1298)
  4727. Note:    reportedly returns AX=0000h and an invalid address under Windows95
  4728. SeeAlso: AX=1510h
  4729. --------d-2F1502-----------------------------
  4730. INT 2F - CD-ROM - GET COPYRIGHT FILE NAME
  4731.     AX = 1502h
  4732.     ES:BX -> 38-byte buffer for name of copyright file
  4733.     CX = drive number (0=A:)
  4734. Return: CF set if drive is not a CD-ROM drive
  4735.         AX = 000Fh (invalid drive)
  4736.     CF clear if successful
  4737. SeeAlso: AX=1503h
  4738. --------d-2F1503-----------------------------
  4739. INT 2F - CD-ROM - GET ABSTRACT FILE NAME
  4740.     AX = 1503h
  4741.     ES:BX -> 38-byte buffer for name of abstract file
  4742.     CX = drive number (0=A:)
  4743. Return: CF set if drive is not a CD-ROM drive
  4744.         AX = 000Fh (invalid drive)
  4745.     CF clear if successful
  4746. SeeAlso: AX=1502h,AX=1504h
  4747. --------d-2F1504-----------------------------
  4748. INT 2F - CD-ROM - GET BIBLIOGRAPHIC DOC FILE NAME
  4749.     AX = 1504h
  4750.     ES:BX -> 38-byte buffer for name of bibliographic documentation file
  4751.     CX = drive number (0=A:)
  4752. Return: CF set if drive is not a CD-ROM drive
  4753.         AX = 000Fh (invalid drive)
  4754.     CF clear if successful
  4755. SeeAlso: AX=1502h,AX=1503h
  4756. --------d-2F1505-----------------------------
  4757. INT 2F - CD-ROM - READ VTOC
  4758.     AX = 1505h
  4759.     ES:BX -> 2048-byte buffer
  4760.     CX = drive number (0=A:)
  4761.     DX = sector index (0=first volume descriptor,1=second,...)
  4762. Return: CF set on error
  4763.         AX = error code (15=invalid drive,21=not ready)
  4764.     CF clear if successful
  4765.         AX = volume descriptor type (1=standard,FFh=terminator,0=other)
  4766. Note:    This function was not supported by Novell DOS 7 NWCDEX prior to the
  4767.       08/16/94 update
  4768. --------d-2F1506-----------------------------
  4769. INT 2F - CD-ROM - TURN DEBUGGING ON
  4770.     AX = 1506h
  4771.     BX = debugging function to enable
  4772. Note:    reserved for development
  4773. SeeAlso: AX=1507h
  4774. --------d-2F1507-----------------------------
  4775. INT 2F - CD-ROM - TURN DEBUGGING OFF
  4776.     AX = 1507h
  4777.     BX = debugging function to disable
  4778. Note:    reserved for development
  4779. SeeAlso: AX=1506h
  4780. --------d-2F1508-----------------------------
  4781. INT 2F - CD-ROM - ABSOLUTE DISK READ
  4782.     AX = 1508h
  4783.     ES:BX -> buffer
  4784.     CX = drive number (0=A:)
  4785.     SI:DI = starting sector number
  4786.     DX = number of sectors to read
  4787. Return: CF set on error
  4788.         AL = error code (0Fh invalid drive,15h not ready)
  4789.     CF clear if successful
  4790. Note:    reportedly returns error 15h (not ready) under Windows95
  4791. SeeAlso: AX=1509h
  4792. --------d-2F1509-----------------------------
  4793. INT 2F - CD-ROM - ABSOLUTE DISK WRITE
  4794.     AX = 1509h
  4795.     ES:BX -> buffer
  4796.     CX = drive number (0=A:)
  4797.     SI:DI = starting sector number
  4798.     DX = number of sectors to write
  4799. Note:    corresponds to INT 26h and is currently reserved and nonfunctional
  4800. SeeAlso: AX=1508h
  4801. --------d-2F150A-----------------------------
  4802. INT 2F - CD-ROM - RESERVED
  4803.     AX = 150Ah
  4804. --------d-2F150B-----------------------------
  4805. INT 2F - CD-ROM v2.00+ - DRIVE CHECK
  4806.     AX = 150Bh
  4807.     CX = drive number (0=A:)
  4808. Return: BX = ADADh if MSCDEX.EXE installed
  4809.         AX = support status
  4810.         0000h if drive not supported
  4811.         nonzero if supported
  4812. SeeAlso: AX=150Dh
  4813. --------d-2F150C-----------------------------
  4814. INT 2F - CD-ROM v2.00+ - GET MSCDEX.EXE VERSION (GET VERSION)
  4815.     AX = 150Ch
  4816. Return: BH = major version
  4817.     BL = minor version
  4818. Notes:    MSCDEX.EXE versions prior to 2.00 return BX=0000h
  4819.     Corel's CORELCDX.COM v1.01d returns 2.20, v1.12a returns 2.21
  4820.     Meridian Data's CDNETEX.EXE returns its own version number, e.g. 4.70
  4821.     Windows95 returns v2.95
  4822. SeeAlso: AX=1500h"CD-ROM"
  4823. --------d-2F150D-----------------------------
  4824. INT 2F - CD-ROM v2.00+ - GET CD-ROM DRIVE LETTERS
  4825.     AX = 150Dh
  4826.     ES:BX -> buffer for drive letter list (1 byte per drive)
  4827. Return: buffer filled with drive numbers (0=A:).  Each byte corresponds
  4828.     to the drive in the same position for function 1501h
  4829. SeeAlso: AX=150Bh
  4830. --------d-2F150E-----------------------------
  4831. INT 2F - CD-ROM v2.00+ - GET/SET VOLUME DESCRIPTOR PREFERENCE
  4832.     AX = 150Eh
  4833.     BX = subfunction
  4834.         00h get preference
  4835.         DX = 0000h
  4836.         Return: DX = preference settings
  4837.         01h set preference
  4838.         DH = volume descriptor preference
  4839.             01h = primary volume descriptor
  4840.             02h = supplementary volume descriptor
  4841.         DL = supplementary volume descriptor preference
  4842.             01h = shift-Kanji
  4843.     CX = drive number (0=A:)
  4844. Return: CF set on error
  4845.         AX = error code (15=invalid drive,1=invalid function)
  4846.     CF clear if successful
  4847. --------d-2F150F-----------------------------
  4848. INT 2F - CD-ROM v2.00+ - GET DIRECTORY ENTRY
  4849.     AX = 150Fh
  4850.     CL = drive number (0=A:)
  4851.     CH bit 0 = copy flag
  4852.         clear if direct copy
  4853.         set if copy to structure which removes ISO/High Sierra diffs
  4854.     ES:BX -> ASCIZ path name
  4855.     SI:DI -> buffer for directory entry (see #2276,#2277)
  4856.          minimum 255 bytes for direct copy
  4857. Return: CF set on error
  4858.         AX = error code
  4859.     CF clear if successful
  4860.         AX = disk format (0=High Sierra,1=ISO 9660)
  4861. Note:    this function was not supported by Novell DOS 7 NWCDEX prior to the
  4862.       08/16/94 update
  4863.  
  4864. Format of CD-ROM directory entry (direct copy):
  4865. Offset    Size    Description    (Table 2276)
  4866.  00h    BYTE    length of directory entry
  4867.  01h    BYTE    length of XAR in Logical Block Numbers
  4868.  02h    DWORD    LBN of data, Intel (little-endian) format
  4869.  06h    DWORD    LBN of data, Motorola (big-endian) format
  4870.  0Ah    DWORD    length of file, Intel format
  4871.  0Eh    DWORD    length of file, Motorola format
  4872. ---High Sierra---
  4873.  12h  6 BYTEs    date and time
  4874.  18h    BYTE    bit flags
  4875.  19h    BYTE    reserved
  4876. ---ISO 9660---
  4877.  12h  7 BYTEs    date and time
  4878.         (seventh byte is offset from GMT in 15-minute increments)
  4879.  19h    BYTE    bit flags
  4880. ---both formats---
  4881.  1Ah    BYTE    interleave size
  4882.  1Bh    BYTE    interleave skip factor
  4883.  1Ch    WORD    volume set sequence number, Intel format
  4884.  1Eh    WORD    volume set sequence number, Motorola format
  4885.  20h    BYTE    length of file name
  4886.  21h  N BYTEs    file name
  4887.     BYTE    (optional) padding if filename is odd length
  4888.       N BYTEs    system data
  4889. SeeAlso: #2277,#1007
  4890.  
  4891. Format of CD-ROM directory entry (canonicalized):
  4892. Offset    Size    Description    (Table 2277)
  4893.  00h    BYTE    length of XAR in Logical Block Numbers
  4894.  01h    DWORD    Logical Block Number of file start
  4895.  05h    WORD    size of disk in logical blocks
  4896.  07h    DWORD    file length in bytes
  4897.  0Bh  7 BYTEs    date and time
  4898.  12h    BYTE    bit flags
  4899.  13h    BYTE    interleave size
  4900.  14h    BYTE    interleave skip factor
  4901.  15h    WORD    volume set sequence number
  4902.  17h    BYTE    length of file name
  4903.  18h 38 BYTEs    ASCIZ filename
  4904.  3Eh    WORD    file version number
  4905.  40h    BYTE    number of bytes of system use data
  4906.  41h 220 BYTEs    system use data
  4907. SeeAlso: #2276
  4908. --------d-2F1510-----------------------------
  4909. INT 2F - CD-ROM v2.10+ - SEND DEVICE DRIVER REQUEST
  4910.     AX = 1510h
  4911.     CX = CD-ROM drive letter (0 = A, 1 = B, etc)
  4912.     ES:BX -> CD-ROM device driver request header (see #2251 at AX=0802h)
  4913. Note:    MSCDEX initializes the device driver request header's subunit field
  4914.       based on the drive number specified in CX
  4915. BUG:    Novell DOS 7 NWCDEX prior to the 12/13/94 update did not initialize
  4916.       the subunit field
  4917. SeeAlso: AX=0802h
  4918. --------d-2F15FFBX0000-----------------------
  4919. INT 2F - CD-ROM - CORELCDX - INSTALLATION CHECK
  4920.     AX = 15FFh
  4921.     BX = 0000h
  4922. Return: BX = ABCDh if CORELCDX loaded
  4923. Note:    Corel's CORELCDX.COM is a replacement for MSCDEX.EXE; it also supports
  4924.       the standard MSCDEX installation check calls AX=1500h and AX=150Ch
  4925. SeeAlso: AX=1500h"CD-ROM",AX=150Ch
  4926. --------W-2F1600-----------------------------
  4927. INT 2F - MS Windows - WINDOWS ENHANCED MODE INSTALLATION CHECK
  4928.     AX = 1600h
  4929. Return: AL = status
  4930.         00h neither Windows 3.x enhanced mode nor Windows/386 2.x running
  4931.         01h Windows/386 2.x running
  4932.         80h XMS version 1 driver installed (neither Windows 3.x enhanced
  4933.           mode nor Windows/386 2.x running) (obsolete--see note)
  4934.         FFh Windows/386 2.x running
  4935.     AL = anything else
  4936.         AL = Windows major version number >= 3
  4937.         AH = Windows minor version number
  4938. Notes:    INT 2F/AH=16h comprises an API for non-Windows programs (DOS device
  4939.       drivers, TSRs, and applications) to cooperate with multitasking
  4940.       Windows/386 2.x and Windows 3.x and higher enhanced mode.
  4941.     certain calls are also supported in the Microsoft 80286 DOS extender in
  4942.       Windows standard mode
  4943.     this function served as the installation check and AX=1610h served to
  4944.       get the driver entry point for XMS version 1, which is now obsolete.
  4945.       Use AX=4300h and AX=4310h instead
  4946. SeeAlso: AX=160Ah,AX=1610h,AX=4300h,AX=4680h
  4947. Index:    installation check;XMS version 1
  4948. --------W-2F1602-----------------------------
  4949. INT 2F - MS Windows/386 2.x - GET API ENTRY POINT
  4950.     AX = 1602h
  4951. Return: ES:DI -> Windows/386 2.x API procedure entry point
  4952. Notes:    this interface is supported in Windows 3.x and Windows95 only for 2.x
  4953.       compatibility
  4954.     to get the current virtual machine (VM) ID in Windows/386 2.x:
  4955.         AX = 0000h
  4956.         ES:DI -> return address
  4957.         JUMP to address returned from INT 2F/AX=1602h
  4958.     After JUMP, at return address:
  4959.         BX = current VM ID.
  4960. SeeAlso: AX=C020h
  4961. --------W-2F1603-----------------------------
  4962. INT 2F C - MS Windows/386 - GET INSTANCE DATA
  4963.     AX = 1603h
  4964. Return: AX = 5248h ('RH') if supported
  4965.         DS:SI -> Windows/386 instance data (see #2278)
  4966. Notes:    reportedly supported by RM Nimbus MS-DOS 3.3 kernel
  4967.     this function is called by DOSMGR when AX=1607h/BX=0015h is not
  4968.       supported, as is the case in DOS versions prior to 5.0
  4969.     see Geoff Chappell's book _DOS_Internals_ for additional discussions of
  4970.       this function, DOSMGR's behavior, and instancing in general
  4971. SeeAlso: AX=1607h/BX=0015h
  4972.  
  4973. Format of Windows/386 instance data:
  4974. Offset    Size    Description    (Table 2278)
  4975.  00h    WORD    segment of IO.SYS (0000h = default 0070h)
  4976.  02h    WORD    offset in IO.SYS of STACKS data structure (DOS 3.2x)
  4977.         0000h if not applicable
  4978.  04h    WORD    number of instance data entries (max 32)
  4979.  06h    Array of instance data entries
  4980.     Offset    Size    Description
  4981.      00h    WORD    segment (0002h = DOS kernel)
  4982.      02h    WORD    offset
  4983.      04h    WORD    size
  4984. --------W-2F1605-----------------------------
  4985. INT 2F - MS Windows - WINDOWS ENHANCED MODE & 286 DOSX INIT BROADCAST
  4986.     AX = 1605h
  4987.     ES:BX = 0000h:0000h
  4988.     DS:SI = 0000h:0000h
  4989.     CX = 0000h
  4990.     DX = flags
  4991.         bit 0 = 0 if Windows enhanced-mode initialization
  4992.         bit 0 = 1 if Microsoft 286 DOS extender initialization
  4993.         bits 1-15 reserved (undefined)
  4994.     DI = version number (major in upper byte, minor in lower)
  4995. Return: CX = 0000h if okay for Windows to load
  4996.     CX = FFFFh (other registers unchanged) if Windows 3.0 in standard mode
  4997.     CX <> 0 if Windows should not load
  4998.     ES:BX -> startup info structure (see #2279)
  4999.     DS:SI -> virtual86 mode enable/disable callback or 0000h:0000h
  5000.           (see #2282)
  5001. Notes:    the Windows enhanced mode loader and Microsoft 286 DOS extender will
  5002.       broadcast an INT 2F/AX=1605h call when initializing.    Any DOS device
  5003.       driver or TSR can watch for this broadcast and return the appropriate
  5004.       values.  If the driver or TSR returns CX <> 0, it is also its
  5005.       responsibility to display an error message.
  5006.     each handler must first chain to the prior INT 2F handler with
  5007.       registers unchanged before processing the call
  5008.     if the handler requires local data on a per-VM basis, it must store the
  5009.       returned ES:BX in the "next" field of a startup info structure and
  5010.       return a pointer to that structure in ES:BX
  5011.     a single TSR may set the V86 mode enable/disable callback; if DS:SI is
  5012.       already nonzero, the TSR must fail the initialization by setting CX
  5013.       nonzero
  5014.     MSD checks for Windows 3.0 running in standard mode by testing whether
  5015.       CX=FFFFh and other registers are unchanged on return
  5016.     Novell DOS v7.0 (Update 8 - Update 11) TASKMGR in multitasking mode
  5017.       uses this broadcast, even if TASKMGR.INI sets WinPresent= to OFF
  5018.     Microsoft's EMM386.EXE for DOS 5+ when installed with the NOEMS option
  5019.       changes its driver name from EMMQXXX0 to EMMXXXX0 while Windows is
  5020.       active
  5021. SeeAlso: AX=1606h,AX=1608h,AX=4B05h
  5022.  
  5023. Format of Windows Startup Information Structure:
  5024. Offset    Size    Description    (Table 2279)
  5025.  00h  2 BYTEs    major, minor version of info structure
  5026.  02h    DWORD    pointer to next startup info structure or 0000h:0000h
  5027.  06h    DWORD    pointer to ASCIZ name of virtual device file or 0000h:0000h
  5028.  0Ah    DWORD    virtual device reference data (see #2281)
  5029.         (only used if above nonzero)
  5030.  0Eh    DWORD    pointer to instance data records (see #2280) or 0000h:0000h
  5031.  
  5032. Format of one Instance Item in array:
  5033. Offset    Size    Description    (Table 2280)
  5034.  00h    DWORD    address of instance data (end of array if 0000h:0000h)
  5035.  04h    WORD    size of instance data
  5036.  
  5037. Format of Virtual Device Reference Data:
  5038. Offset    Size    Description    (Table 2281)
  5039.  00h    DWORD    physical address of ??? or 00000000h
  5040.  04h    DWORD    physical address of ??? table
  5041.  08h    DWORD    "DEST_PAGE" address to which pages must be mapped
  5042.  0Ch  N DWORDs    "SRC_PAGE" physical addresses of the pages
  5043.         00000000h = end of table
  5044. Note:    EMM386.EXE sets the first pointer to the start of the device driver
  5045.       chain, the second pointer to a field of 40h bytes followed by a
  5046.       16-bit offset to the end of the SRC_PAGE table, and DEST_PAGE to
  5047.       the start segment of the UMB area
  5048.  
  5049. (Table 2282)
  5050. Values Windows virtual mode enable/disable procedure is called with:
  5051.     AX = 0000h disable V86 mode
  5052.     AX = 0001h enable V86 mode
  5053.     interrupts disabled
  5054. Return: CF set on error
  5055.     CF clear if successful
  5056.     interrupts disabled
  5057. --------W-2F1606-----------------------------
  5058. INT 2F - MS Windows - WINDOWS ENHANCED MODE & 286 DOSX EXIT BROADCAST
  5059.     AX = 1606h
  5060.     DX = flags
  5061.         bit 0 = 0 if Windows enhanced-mode exit
  5062.         bit 0 = 1 if Microsoft 286 DOS extender exit
  5063.         bits 1-15 reserved (undefined)
  5064. Notes:    if the init broadcast fails (AX=1605h returned CX <> 0), then this
  5065.       broadcast will be issued immediately.
  5066.     this call will be issued in real mode
  5067.     Novell DOS v7.0 (Update 8 - Update 15) TASKMGR in multitasking mode
  5068.       uses this broadcast, even if TASKMGR.INI sets WinPresent= to OFF
  5069. SeeAlso: AX=1605h,AX=1609h
  5070. --------W-2F1607-----------------------------
  5071. INT 2F - MS Windows - VIRTUAL DEVICE CALL OUT API
  5072.     AX = 1607h
  5073.     BX = virtual device ID (see #2290)
  5074.     CX = (usually) callout subfunction
  5075. Return: (usually) AX,BX,CX,DX,ES contain results
  5076. Notes:    more of a convention than an API, this call specifies a standard
  5077.       mechanism for Windows enhanced-mode virtual devices (VxD's) to talk
  5078.       to DOS device drivers and TSRs
  5079.     see below for details on several virtual devices
  5080. SeeAlso: AX=1605h,AX=1607h/BX=000Ch,AX=1607h/BX=0014h,AX=1607h/BX=0015h
  5081. SeeAlso: AX=1607h/BX=0018h,AX=1684h"DEVICE API",AX=C020h
  5082. --------W-2F1607BX0006-----------------------
  5083. INT 2F - MS Windows - "V86MMGR" VIRTUAL DEVICE API
  5084.     AX = 1607h
  5085.     BX = 0006h (VxD identifier of "V86MMGR")
  5086.     CX = 0000h
  5087. Return: AX = status
  5088.         0000h if local A20 state changed
  5089.         1607h if A20 unchanged
  5090.         other if global A20 state changed
  5091. SeeAlso: AX=1607h"CALL OUT API"
  5092. --------W-2F1607BX000C-----------------------
  5093. INT 2F - MS Windows - "VMD" VIRTUAL MOUSE DEVICE API
  5094.     AX = 1607h
  5095.     BX = 000Ch (VxD identifier of "VMD")
  5096. Return: CX = nonzero if mouse driver already virtualized
  5097. Note:    VMD (Virtual Mouse Driver) calls this and then checks whether CX is
  5098.       nonzero; if yes, it will not automatically virtualize the mouse
  5099.       driver.  This would be used if MOUSE.COM already virtualizes
  5100.       itself using the Windows API.
  5101. SeeAlso: AX=1607h/BX=0014h,AX=1607h/BX=0015h
  5102. --------W-2F1607BX000D-----------------------
  5103. INT 2F C - MS Windows95 - "VKD" VIRTUAL DEVICE - ??? CALLOUT
  5104.     AX = 1607h
  5105.     BX = 000Dh (VxD ID for VKD)
  5106.     ???
  5107. Return: ???
  5108. SeeAlso: AX=1607h"CALL OUT API",#2290
  5109. --------W-2F1607BX0010-----------------------
  5110. INT 2F C - MS Windows 3.1 - "BLOCKDEV" VIRTUAL HARD DISK DEVICE API
  5111.     AX = 1607h
  5112.     BX = 0010h (VxD identifier of "BLOCKDEV")
  5113.     CX = function
  5114.         0001h starting FastDisk compatibility tests
  5115.         0002h ending FastDisk compatibility tests
  5116.         0003h check if FastDisk installation allowed
  5117.         Return: CX = 0000h if allowed
  5118. Note:    this interface is called by the Windows FastDisk driver (such as
  5119.       WDCTRL) when it thinks that the INT 13h handler immediately below
  5120.       IO.SYS's INT 13h code is not in ROM; it should be supported by any
  5121.       program which hooks itself underneath IO.SYS's INT 13h code with
  5122.       INT 2F/AH=13h
  5123. SeeAlso: AX=1607h/BX=0014h,INT 2F/AH=13h
  5124. --------W-2F1607BX0014-----------------------
  5125. INT 2F - MS Windows - "VNETBIOS" VIRTUAL DEVICE API
  5126.     AX = 1607h
  5127.     BX = 0014h (VxD identifier of "VNETBIOS")
  5128. Return: ES:DI -> 128-byte table specifying VNETBIOS actions for each NetBIOS
  5129.         command code (see #2283)
  5130. Note:    VNETBIOS (Virtual NetBIOS) calls this function to determine whether
  5131.       the NetBIOS has an extensions Windows should know about
  5132. SeeAlso: AX=1607h/BX=000Ch,AX=1607h/BX=0010h,AX=1607h/BX=0015h
  5133.  
  5134. (Table 2283)
  5135. Values for VNETBIOS action code:
  5136.  00h    "VN_Unknown" unknown command
  5137.  04h    "VN_No_Map"  no memory mapping necessary
  5138.  08h    "VN_Map_In"  input buffer is quickly used, so no global mapping needed
  5139.  0Ch    "VN_Map_In"  output buffer is quickly used, so no global mapping needed
  5140.  10h    "VN_Map_In_Out"     buffer is quickly used, so no global mapping needed
  5141.  14h    "VN_Chain_Send"     the chain-send command
  5142.  18h    "VN_Cancel"    special case for cancel command
  5143.  1Ch    "VN_Buffer_In"    buffer is incoming
  5144.  20h    "VN_Buffer_Out" buffer is outgoing
  5145.  24h    "VN_Buffer_In_Out" buffer used for both incoming and outgoing data
  5146. --------D-2F1607BX0015-----------------------
  5147. INT 2F C - MS Windows - "DOSMGR" VIRTUAL DEVICE API
  5148.     AX = 1607h
  5149.     BX = 0015h (VxD identifier of "DOSMGR")
  5150.     CX = function
  5151.         0000h query instance processing
  5152.         DX = 0000h
  5153.         Return: CX = state
  5154.                 0000h not instanced
  5155.                 other instanced (DOS 5+ kernel returns 0001h)
  5156.                 DX = segment of DOS drivers or 0000h for
  5157.                     default of 0070h
  5158.                 ES:BX -> patch table (see #2285)
  5159.         0001h set patches in DOS
  5160.         DX = bit mask of patch requests (see #2284)
  5161.         Return: AX = B97Ch
  5162.             BX = bit mask of patches applied (see #2284)
  5163.             DX = A2ABh
  5164.         0002h remove patches in DOS (ignored by DOS 5.0 kernel)
  5165.         DX = bit mask of patch requests (see #2284)
  5166.         Return: CX = 0000h (DOS 5-6)
  5167.         Note:    return values are ignored by DOSMGR in Windows 3.1
  5168.         0003h get size of DOS data structures
  5169.         DX = bit mask of request (only one bit can be set)
  5170.             bit 0: Current Directory Structure size
  5171.         Return: if supported request:
  5172.                 AX = B97Ch
  5173.                 CX = size in bytes of requested structure
  5174.                 DX = A2ABh
  5175.             else:
  5176.                 CX = 0000h
  5177.                 all other registers preserved
  5178.         0004h determine instanced data structures
  5179.         Return: AX = B97Ch if supported
  5180.             DX = A2ABh if supported (DOS 5+ kernel returns 0000h)
  5181.             BX = bit mask of instanced items
  5182.                 bit 0: CDS
  5183.                 bit 1: SFT
  5184.                 bit 2: device list
  5185.                 bit 3: DOS swappable data area
  5186.         0005h get device driver size
  5187.         ES = segment of device driver
  5188.         Return: DX:AX = 0000h:0000h on error (not dev. driver segment)
  5189.             DX:AX = A2ABh:B97Ch if successful
  5190.                 BX:CX = size of device driver in bytes
  5191. Notes:    DOSMGR (DOS Manager) will check whether the OEM DOS/BIOS data has
  5192.       been instanced via this API and will not perform its own default
  5193.       instancing of the normal DOS/BIOS data if so; if this API is not
  5194.       supported, DOSMGR will also try to access instancing data through
  5195.       INT 2F/AX=1603h
  5196.     these functions are supported by the DOS 5+ kernel; DOSMGR contains
  5197.       tables of instancing information for earlier versions of DOS
  5198.     see Geoff Chappell's book _DOS_Internals_ for additional discussions of
  5199.       DOSMGR's behavior and instancing in general
  5200. SeeAlso: AX=1603h,AX=1605h,AX=1607h/BX=000Ch,AX=1607h/BX=0014h
  5201. SeeAlso: AX=1684h"DEVICE API"
  5202.  
  5203. Bitfields for DOSMGR patch requests:
  5204. Bit(s)    Description    (Table 2284)
  5205.  0    enable critical sections
  5206.  1    NOP setting/checking user ID
  5207.  2    turn INT 21/AH=3Fh on STDIN into polling loop
  5208.  3    trap stack fault in "SYSINIT" to WIN386
  5209.  4    BIOS patch to trap "Insert disk X:" to WIN386
  5210.  
  5211. Format of DOSMGR patch table:
  5212. Offset    Size    Description    (Table 2285)
  5213.  00h  2 BYTEs    DOS version (major, minor)
  5214.  02h    WORD    offset in DOS data segment of "SAVEDS"
  5215.  04h    WORD    offset in DOS data segment of "SAVEBX"
  5216.  06h    WORD    offset in DOS data segment of InDOS flag
  5217.  08h    WORD    offset in DOS data segment of User ID word
  5218.  0Ah    WORD    offset in DOS data segment of "CritPatch" table to enable
  5219.           critical section calls (see INT 2A/AH=80h)
  5220.  0Ch    WORD    (DOS 5+ only) offset in DOS data segment of "UMB_HEAD",
  5221.           containing segment of last MCB in conventional memory
  5222. --------W-2F1607BX0018-----------------------
  5223. INT 2F C - MS Windows - "VMPoll" VIRTUAL DEVICE - IDLE CALLOUT
  5224.     AX = 1607h
  5225.     BX = 0018h (VMPoll VxD ID) (see #2290)
  5226.     CX = 0000h
  5227. Return: AX = status
  5228.         0000h if timeslice used
  5229.         nonzero if timeslice not needed
  5230. Note:    when VMPoll makes this callout, all virtual machines are idle, and any
  5231.       interested TSR can use the opportunity to perform background
  5232.       processing
  5233. SeeAlso: AX=1607h"CALL OUT API",AX=1689h
  5234. --------W-2F1607BX0021--------------------------------------
  5235. INT 2F C - MS Windows - "PageFile" VIRTUAL DEVICE - GET LOCK BYTE
  5236.     AX = 1607h
  5237.     BX = 0021h (PageFile VxD ID)
  5238.     CX = 0000h
  5239. Return: AX = status
  5240.         0000h success
  5241.         ES:DI -> cache lock byte in disk cacher
  5242.         other no disk cache or unsupported
  5243. Notes:    PageFile issues this call on real-mode initialization in order to allow
  5244.       disk caches to provide it with a byte which it can use to temporarily
  5245.       lock the disk cache; VMPOLL also issues this call, so it is made
  5246.       twice each time Windows starts up
  5247.     if this call fails, PageFile falls back to other techniques for locking
  5248.       the disk cache
  5249. SeeAlso: AX=1607h"CALL OUT API"
  5250. --------W-2F1607BX002D-----------------------
  5251. INT 2F C - MS Windows - "W32S" VIRTUAL DEVICE - ??? CALLOUT
  5252.     AX = 1607h
  5253.     BX = 002Dh (VxD ID for W32S)
  5254.     ???
  5255. Return: ???
  5256. SeeAlso: AX=1607h"CALL OUT API",#2290
  5257. --------W-2F1607BX0040-----------------------
  5258. INT 2F C - MS Windows - "IFSMgr" VIRTUAL DEVICE - ??? CALLOUT
  5259.     AX = 1607h
  5260.     BX = 0040h (VxD ID for IFSMgr)
  5261.     ???
  5262. Return: ???
  5263. SeeAlso: AX=1607h"CALL OUT API",#2290
  5264. --------W-2F1607BX0446-----------------------
  5265. INT 2F C - MS Windows - "VADLIBD" VIRTUAL DEVICE - ??? CALLOUT
  5266.     AX = 1607h
  5267.     BX = 0446h (VxD ID for VADLIBD)
  5268.     ???
  5269. Return: ???
  5270. SeeAlso: AX=1607h"CALL OUT API",#2290
  5271. --------W-2F1607BX0484-----------------------
  5272. INT 2F C - MS Windows - "IFSMgr" VIRTUAL DEVICE - ??? CALLOUT
  5273.     AX = 1607h
  5274.     BX = 0484h (VxD ID for IFSMgr)
  5275.     ???
  5276. Return: ???
  5277. SeeAlso: AX=1607h"CALL OUT API",#2290
  5278. --------W-2F1607BX0487-----------------------
  5279. INT 2F C - MS Windows - "NWSUP" VIRTUAL DEVICE - ??? CALLOUT
  5280.     AX = 1607h
  5281.     BX = 0487h (VxD ID for NWSUP)
  5282.     ???
  5283. Return: ???
  5284. SeeAlso: AX=1607h"CALL OUT API",#2290
  5285. --------E-2F1607BX22C0-----------------------
  5286. INT 2F C - Rational Systems DOS/4GW - ???
  5287.     AX = 1607h
  5288.     BX = 22C0h
  5289.     ???
  5290. Return: ???
  5291. SeeAlso: INT 15/AX=BF02h,INT 15/AX=BF04h,#2290
  5292. --------W-2F1607BX28A1-----------------------
  5293. INT 2F C - MS Windows - "PharLap" VIRTUAL DEVICE - ??? CALLOUT
  5294.     AX = 1607h
  5295.     BX = 28A1h (VxD ID for PharLap)
  5296.     ???
  5297. Return: ???
  5298. SeeAlso: AX=1607h"CALL OUT API",#2290
  5299. --------W-2F1607BX7A5F-----------------------
  5300. INT 2F C - MS Windows - "SIWVID" VIRTUAL DEVICE - ??? CALLOUT
  5301.     AX = 1607h
  5302.     BX = 7A5Fh (VxD ID for SIWVID)
  5303.     ???
  5304. Return: ???
  5305. SeeAlso: AX=1607h"CALL OUT API",#2290
  5306. --------W-2F1608-----------------------------
  5307. INT 2F C - MS Windows - WINDOWS ENHANCED MODE INIT COMPLETE BROADCAST
  5308.     AX = 1608h
  5309. Notes:    called after all installable devices have been initialized
  5310.     real-mode software may be called between the Windows enhanced-mode init
  5311.       call (AX=1605h) and this call; the software must detect this
  5312.       situation
  5313. SeeAlso: AX=1605h,AX=1609h
  5314. --------W-2F1609-----------------------------
  5315. INT 2F C - MS Windows - WINDOWS ENHANCED MODE BEGIN EXIT BROADCAST
  5316.     AX = 1609h
  5317. Note:    called at the beginning of a normal exit sequence; not made in the
  5318.       event of a fatal system crash
  5319. SeeAlso: AX=1606h,AX=1608h
  5320. --------W-2F160A-----------------------------
  5321. INT 2F - MS Windows 3.1 - IDENTIFY WINDOWS VERSION AND TYPE
  5322.     AX = 160Ah
  5323. Return: AX = 0000h if call supported
  5324.         BX = version (BH=major, BL=minor)
  5325.         CX = mode (0002h = standard, 0003h = enhanced)
  5326. SeeAlso: AX=1600h,AX=4680h
  5327. --------W-2F160B-----------------------------
  5328. INT 2F - MS Windows 3.1 - IDENTIFY TSRs
  5329.     AX = 160Bh
  5330.     ES:DI = 0000h:0000h
  5331. Return: ES:DI -> TSR information structure (see #2286)
  5332. Desc:    this call allows Windows-aware TSRs to make themselves known to
  5333.       Windows.
  5334. Note:    the TSR should first chain to the previous INT 2F handler, then
  5335.       allocate a communication structure, place the returned ES:DI
  5336.       pointer in the first field, and return a pointer to the new
  5337.       structure
  5338. SeeAlso: AX=1605h,AX=160Ch,AX=4B01h,AX=4B05h
  5339.  
  5340. Format of TSR-to-Windows information structure:
  5341. Offset    Size    Description    (Table 2286)
  5342.  00h    DWORD    pointer to next structure
  5343.  04h    WORD    PSP segment
  5344.  06h    WORD    API version ID (0100h)
  5345.  08h    WORD    EXEC flags (how to load command specified by "exec_cmd")
  5346.         bit 0: "WINEXEC"
  5347.         bit 1: "LOADLIBRARY"
  5348.         bit 2: "OPENDRIVER"
  5349.  0Ah    WORD    "exec_cmd_show" (see #2287)
  5350.  0Ch    DWORD    "exec_cmd" pointer to command line to be executed
  5351.  10h  4 BYTEs    reserved (0)
  5352.  14h    DWORD    pointer to TSR ID block (see #2288)
  5353.  18h    DWORD    pointer to TSR data block or 0000h:0000h
  5354.  
  5355. (Table 2287)
  5356. Values for TSR information structure "exec_cmd_show":
  5357.  00h    HIDE
  5358.  01h    SHOWNORMAL
  5359.  02h    SHOWMINIMIZED
  5360.  03h    SHOWMAXIMIZED
  5361.  04h    SHOWNOACTIVE
  5362.  05h    SHOW
  5363.  06h    MINIMIZE
  5364.  07h    SHOWMINNOACTIVE
  5365.  08h    SHOWNA
  5366.  09h    RESTORE
  5367. Note:    this value is passed as the second parameter to the WinExec(),
  5368.       LoadLibrary(), or OpenDriver() call used to execute a requested
  5369.       command line
  5370. SeeAlso: #2286 
  5371.  
  5372. Format of Norton Utilities 6.0 TSR ID block:
  5373. Offset    Size    Description    (Table 2288)
  5374.  00h    WORD    length of name string
  5375.  02h  N BYTEs    name of TSR's executable
  5376. SeeAlso: #2286
  5377. --------W-2F160C-----------------------------
  5378. INT 2F - MS Windows 3.1 - DETECT ROMs
  5379.     AX = 160Ch
  5380.     ???
  5381. Return: ???
  5382. Note:    used by ROM Windows; appears to be a NOP under standard Windows95
  5383. SeeAlso: AX=160Bh,INT 21/AH=6Dh"ROM"
  5384. --------D-2F160E-----------------------------
  5385. INT 2F U - MS-DOS 7 kernel - BOOT LOGO SUPPORT???
  5386.     AX = 160Eh
  5387.     BL = subfunction
  5388.         00h get ???
  5389.         AX = state of flag manipulated by subfn 04h and 05h
  5390.             0000h clear
  5391.             FFFFh set
  5392.         DX = ??? (0000h)
  5393.         01h link in INT 10h??? handlers
  5394.         02h unlink INT 10h??? handlers
  5395.         03h ???
  5396.         04h set ??? flag
  5397.         05h clear ??? flag
  5398. Return: AX = 0000h if supported
  5399.         ???
  5400. SeeAlso: AX=160Fh,AX=1611h,AX=1614h
  5401. --------D-2F160F-----------------------------
  5402. INT 2F U - MS-DOS 7 kernel - GET/SET ??? HANDLER
  5403.     AX = 160Fh
  5404.     BL = subfunction
  5405.         00h get ??? handler
  5406.         Return: AX = 0000h if supported
  5407.                 CX:DX -> handler to which control is passed after
  5408.                       ??? executes
  5409.         01h set ??? handler
  5410.         CX:DX -> new handler for ???
  5411.         Return: AX = 0000h if supported
  5412. Notes:    this function is not supported if ??? in the IO.SYS drivers portion of
  5413.       the kernel is an IRET instruction (as is the case on my system)
  5414.       rather than a FAR JMP
  5415.     the indicated handler seems to be related to INT 10 processing
  5416. SeeAlso: AX=160Eh,AX=1611h,AX=1614h
  5417. --------m-2F1610-----------------------------
  5418. INT 2F - XMS v1.x only - GET DRIVER ADDRESS
  5419.     AX = 1610h
  5420.     details unavailable
  5421. Note:    this function and AX=1600h were only used in XMS version 1 and are now
  5422.       obsolete.  Use AX=4300h and AX=4310h instead
  5423. SeeAlso: AX=1600h,AX=4310h
  5424. --------D-2F1611-----------------------------
  5425. INT 2F U - MS-DOS 7 kernel - GET SHELL PARAMETERS
  5426.     AX = 1611h
  5427. Return: AX = 0000h if supported
  5428.         DS:DX -> primary shell's executable name
  5429.         DS:SI -> prinary shell command line (counted string)
  5430.         BH = ??? (00h)
  5431.         BL = ??? (00h)
  5432. Desc:    return the program name and commandline from the CONFIG.SYS SHELL=
  5433.       statement
  5434. SeeAlso: AX=160Eh,AX=160Fh,AX=1612h,AX=4A33h
  5435. --------D-2F1612-----------------------------
  5436. INT 2F U - MS-DOS 7 kernel - GET ???
  5437.     AX = 1612h
  5438. Return: AX = 0000h if supported
  5439.         ES:BX -> ??? data (see #2289)
  5440. Note:    called by VTD.VXD
  5441. SeeAlso: AX=160Fh,AX=1611h,AX=1613h
  5442.  
  5443. Format of DOS7 ??? kernel data:
  5444. Offset    Size    Description    (Table 2289)
  5445.  00h    WORD    ??? (0001h)
  5446.  02h    DWORD    -> ??? function (call with DS=high word of this field)
  5447.         the indicated function vectors through the INT 13 hook at
  5448.           0070h:00B4h and then forces the A20 gate open
  5449.     ???
  5450. --------D-2F1613-----------------------------
  5451. INT 2F - MS-DOS 7 kernel - GET SYSTEM.DAT (REGISTRY FILE) PATHNAME
  5452.     AX = 1613h
  5453.     ES:DI -> buffer for full ASCIZ pathname to Windows95 SYSTEM.DAT
  5454.     CX = buffer size in bytes
  5455. Return: AX = 0000h if supported
  5456.         ES:DI buffer filled
  5457.         CX = number of bytes copied into buffer
  5458. SeeAlso: AX=160Eh,AX=1611h,AX=1612h,AX=1614h,AX=1690h
  5459. --------D-2F1614-----------------------------
  5460. INT 2F U - MS-DOS 7 kernel - SET SYSTEM.DAT (REGISTRY FILE) PATHNAME
  5461.     AX = 1614h
  5462.     ES:DI -> ASCIZ pathname to Windows95 SYSTEM.DAT
  5463. Return: AX = status
  5464.         0000h if successful
  5465.         1614h not supported
  5466.         other: maximum length of pathname (004Eh for v4.00.950)
  5467. SeeAlso: AX=160Eh,AX=1611h,AX=1613h,AX=1690h
  5468. ----------2F1615-----------------------------
  5469. INT 2F - Windows95 - SAVE32.COM - INSTALLATION CHECK
  5470.     AX = 1615h
  5471. Return: AX = 0000h if installed
  5472.         BX = segment of resident code
  5473. Program: SAVE32.COM is a TSR included in the Windows95 distribution which
  5474.       preserves the contents of 32-bit registers across invocations of
  5475.       all of the hardware interrupt handlers (which, for some older BIOSes
  5476.       and TSRs, do not properly preserve the high words of the 32-bit
  5477.       registers)
  5478. --------W-2F1680-----------------------------
  5479. INT 2F - MS Windows, DPMI, various - RELEASE CURRENT VIRTUAL MACHINE TIME-SLICE
  5480.     AX = 1680h
  5481. Return: AL = status
  5482.         00h if the call is supported
  5483.         80h (unchanged) if the call is not supported
  5484. Notes:    programs can use this function in idle loops to enhance performance
  5485.       under multitaskers; this call is supported by MS Windows 3+, DOS 5+,
  5486.       DPMI 1.0+, and in OS/2 2.0+ for multitasking DOS applications
  5487.     does not block the program; it just gives up the remainder of the time
  5488.       slice
  5489.     should not be used by Windows-specific programs
  5490.     when called very often without intermediate screen output under
  5491.       MS Windows 3.x, the VM will go into an idle-state and will not
  5492.       receive the next slice before 8 seconds have elapsed. This time can
  5493.       be changed in SYSTEM.INI through "IdleVMWakeUpTime=<seconds>".
  5494.       Setting it to zero results in a long wait.
  5495.     this function has no effect under OS/2 2.10-4.0 if the DOS box has an
  5496.       "Idle Sensitivity" setting of 100
  5497. SeeAlso: AX=1689h,INT 15/AX=1000h,INT 15/AX=5305h,INT 21/AH=89h,INT 7A/BX=000Ah
  5498. --------W-2F1681-----------------------------
  5499. INT 2F - MS Windows 3+ - BEGIN CRITICAL SECTION
  5500.     AX = 1681h
  5501. Notes:    used to prevent a task switch from occurring
  5502.     should be followed by an INT 2F/AX=1682h call as soon as possible
  5503.     nested calls are allowed, and must be followed by an appropriate number
  5504.       of "end critical section" calls
  5505.     not supported in Windows/386 2.x. Get INDOS flag with INT 21/AH=34h and
  5506.       increment by hand.
  5507. SeeAlso: AX=1682h,INT 15/AX=101Bh,INT 21/AH=34h
  5508. --------W-2F1682-----------------------------
  5509. INT 2F - MS Windows 3+ - END CRITICAL SECTION
  5510.     AX = 1682h
  5511. Notes:    not supported in Windows/386 2.x.  Get InDOS flag with INT 21/AH=34h
  5512.       and decrement by hand, taking care not to decrement InDOS flag
  5513.       through zero
  5514. SeeAlso: AX=1681h,INT 15/AX=101Ch,INT 21/AH=34h
  5515. --------W-2F1683-----------------------------
  5516. INT 2F - MS Windows 3+ - GET CURRENT VIRTUAL MACHINE ID
  5517.     AX = 1683h
  5518. Return: BX = current virtual machine (VM) ID
  5519. Notes:    Windows itself currently runs in VM 1, but this can't be relied upon
  5520.     VM IDs are reused when VMs are destroyed
  5521.     an ID of 0 will never be returned
  5522. SeeAlso: AX=1684h"DEVICE API",AX=1685h,AX=168Bh
  5523. --------W-2F1684-----------------------------
  5524. INT 2F - MS Windows - GET DEVICE API ENTRY POINT
  5525.     AX = 1684h
  5526.     BX = virtual device (VxD) ID (see #2290)
  5527.     ES:DI = 0000h:0000h
  5528. Return: ES:DI -> VxD API entry point, or 0:0 if the VxD does not support an API
  5529. Note:    some Windows enhanced-mode virtual devices provide services that
  5530.       applications can access.  For example, the Virtual Display Device
  5531.       (VDD) provides an API used in turn by WINOLDAP.
  5532. SeeAlso: AX=1684h/BX=0001h,AX=1684h/BX=0015h,AX=1683h,AX=4011h,INT 20"Windows"
  5533.  
  5534. (Table 2290)
  5535. Values for MS Windows VxD ID:
  5536. Value    Name   CallOut V86 PM    Description
  5537.  0000h    ACT200L            IrDA Infrared ActiSys framer VxD
  5538.  0000h    ACT220L            IrDA Infrared ActiSys 220 framer VxD
  5539.  0000h    ADAPTEC            IrDA Infrared Adaptec framer VxD
  5540.  0000h    AM1500T        N  N    (Win95)
  5541.  0000h    ATI        N  N    (Win95) ATI display driver
  5542.  0000h    CDFS        N  N
  5543.  0000h    CDTSD        N  N    (Win95) CD-ROM Type-Specific Driver
  5544.  0000h    CE2NDIS3    N  N    (W4Wg)
  5545.  0000h    CENDIS        N  N    (W4Wg)
  5546.  0000h    CHIPS        N  N    (Win95) Chips&Tech display driver
  5547.  0000h    CIRRUS        N  N    (Win95) Cirrus display driver
  5548.  0000h    CTNDW        N  N    (W4Wg)
  5549.  0000h    CTVSD        N  N    (Win95) CD-ROM Vendor-Specific Driver
  5550.  0000h    CM2NDIS3    N  N    (W4Wg)
  5551.  0000h    COMBUFF        N  N    (Win95)
  5552.  0000h    COMPAQ        N  N    (Win95) Compaq display driver
  5553.  0000h    CPQNDIS3    N  N    (W4Wg)
  5554.  0000h    CRYSTAL            IrDA Infrared Crystal framer VxD
  5555.  0000h    DBKVSSD        N  N    (Win95) Databook PCMCIA socket services???
  5556.  0000h    DDOM95        N  N
  5557.  0000h    DECLAN        N  N    (W4Wg)
  5558.  0000h    DiskTSD        N  N    (Win95) hard-disk Type-Specific Driver
  5559.  0000h    DiskVSD        N  N    (Win95) hard-disk Vendor-Specific Driver
  5560.  0000h    DMICTVXD    N  N
  5561.  0000h    DRVSPACX    N  N    (Win95)
  5562.  0000h    E30N3        N  N    (W4Wg)
  5563.  0000h    E31N3        N  N    (W4Wg)
  5564.  0000h    EE16        N  N    (W4Wg)
  5565.  0000h    EISA        N  N    (Win95)
  5566.  0000h    EL59X        N  N    (Win95)
  5567.  0000h    ELNK16        N  N    (W4Wg)
  5568.  0000h    ELNK3        N  N    (Win95)
  5569.  0000h    ELNKII        N  N    (W4Wg)
  5570.  0000h    ELNKMC        N  N    (W4Wg)
  5571.  0000h    ELPC3        N  N    (W4Wg)
  5572.  0000h    ENABLE2        N  N    (Win95)
  5573.  0000h    ENABLE4        N  N    (Win95)
  5574.  0000h    EPRO        N  N    (Win95)
  5575.  0000h    ES1488V        N  N    (Win95)
  5576.  0000h    ES1688V        N  N    (Win95)
  5577.  0000h    ES488V        N  N    (Win95)
  5578.  0000h    ES688V        N  N    (Win95)
  5579.  0000h    ESI            IrDA Infrared ESI framer VxD
  5580.  0000h    FILEMON        N  N    DOS386 File Monitor
  5581.  0000h    FLS1MTD        N  N    (Win95) flash-memory driver???
  5582.  0000h    FLS2MTD        N  N    (Win95) flash-memory driver???
  5583.  0000h    HPEISA        N  N    (W4Wg)
  5584.  0000h    HPFEND        N  N    (W4Wg)
  5585.  0000h    HPISA        N  N    (W4Wg)
  5586.  0000h    HPMCA        N  N    (W4Wg)
  5587.  0000h    HSFLOP        N  N
  5588.  0000h    IBMTOK        N  N    (W4Wg)
  5589.  0000h    IBMTOK4        N  N    (Win95)
  5590.  0000h    IRCOMM            IrDA Infrared Virtual COM/LPT driver
  5591.  0000h    IRLAMPEX        IrDA Infrared Protocol VxD
  5592.  0000h    IRLAPFRM        IrDA Infrared Virtual COM/LPT frame driver
  5593.  0000h    IRMATRAK    N  N    (W4Wg)
  5594.  0000h    JAVASUP        N  N    Internet Explorer JAVA support
  5595.  0000h    KEYREMAP    N  N    (Windows95 PowerToys) shift-key remapper
  5596.  0000h    LPT         N    N  N    (Win4Workgroups 3.11) DOS386 LPT Device
  5597.  0000h    LPTENUM        N  N
  5598.  0000h    MONVSD
  5599.  0000h    MGA        N  N    (Win95) Matrox MGA display driver
  5600.  0000h    MSMINI        N  N    (Win95)
  5601.  0000h    MSODISUP     N    N  N    (Win4Workgroups 3.11) MS ODI Support
  5602.  0000h    mvpas        N  N    (Win95) Pro Audio Spectrum driver
  5603.  0000h    NECATAPI    N  N    (Win95)
  5604.  0000h    NICE        N  N    (Win95)
  5605.  0000h    NWNBLINK     N    N  N    (Win4Workgroups 3.11) Netware NetBIOS
  5606.  0000h    OAK        N  N    (Win95) Oak Tech display driver
  5607.  0000h    OCTK32        N  N    (W4Wg)
  5608.  0000h    OTCETH        N  N    (W4Wg)
  5609.  0000h    PARALINK    N  N    (Win95)
  5610.  0000h    PARALLAX        IrDA Infrared Parallax framer VxD
  5611.  0000h    PCNTN3        N  N    (W4Wg)
  5612.  0000h    PE3NDIS        N  N    (W4Wg)
  5613.  0000h    PPM        N  N    (Win95)
  5614.  0000h    PROTEON        N  N    (W4Wg)
  5615.  0000h    QEMMFix        N  N
  5616.  0000h    QIC117        N  N    (Win95) QIC-117 floppy-ctrl tape drive
  5617.  0000h    QPI        N  N    QEMM Programming Interface (see INT 67/AH=3Fh)
  5618.  0000h    RMM        N  N    Real-Mode Mapper for hw with real-mode drivers
  5619.  0000h    S3        N  N    (Win95) S3 display driver
  5620.  0000h    S3INFO        N  N
  5621.  0000h    S3MINI        N  N    S3 display driver
  5622.  0000h    SAGE        N  N    (Plus!) System Agent
  5623.  0000h    scsi1hlp    N  N    (Win95)
  5624.  0000h    SERENUM        N  N
  5625.  0000h    SERIAL         N    N  N    (Win4Workgroups 3.11) DOS386 Serial Device
  5626.  0000h    SERWAVE        N  N
  5627.  0000h    SETP3        N  N    (Win95) Silicon Ethernet Pocket Adapter
  5628.  0000h    SMC8000W    N  N    (W4Wg)
  5629.  0000h    SMC80PC        N  N    (W4Wg)
  5630.  0000h    SMC8100W    N  N    (W4Wg)
  5631.  0000h    SMC8232W    N  N    (W4Wg)
  5632.  0000h    SMC9000        N  N    (W4Wg)
  5633.  0000h    SNIP        N  N    (W4Wg)
  5634.  0000h    SOCKET        N  N    (W4Wg)
  5635.  0000h    SOCKETSV    N  N    (Win95)
  5636.  0000h    SPAP        Y  Y    (Win95)
  5637.  0000h    SPENDIS        N  N    (Win95)
  5638.  0000h    SRAMMTD        N  N    (Win95) flash-memory driver???
  5639.  0000h    STLTH64        N  N    Diamond Stealth64 driver
  5640.  0000h    STLTHMON    N  N
  5641.  0000h    T20N3        N  N    (W4Wg)
  5642.  0000h    T30N3        N  N    (W4Wg)
  5643.  0000h    TCTOK        N  N    (W4Wg)
  5644.  0000h    TSENG        N  N    (Win95) Tseng Labs display driver
  5645.  0000h    UBNEI        N  N    (W4Wg)
  5646.  0000h    UNIMODEM        (Win95) Universal Modem Driver
  5647.  0000h    VDEF        N  N    (Win95)
  5648.  0000h    VGATEWAY    N  Y    (Win95) dialin gateway
  5649.  0000h    VIDEO7        N  N    (Win95) Video7 display driver
  5650.  0000h    VRomD        N  N    (Win95)
  5651.  0000h    VStDspcD        Quarterdeck Stealth D*Space
  5652.  0000h    VXDMON
  5653.  0000h    WD        N  N    (Win95)
  5654.  0000h    WINTOP        N  N    (Windows95 Power Toys)
  5655.  0000h    WSHTCP        N  N
  5656.  0000h    XGA        N  N    (Win95) XGA display driver
  5657.  0001h    VMM        N  N    Virtual Machine Manager
  5658.  0001h    VMM        Y  Y    Windows95 Virtual Machine Manager
  5659.  0002h    Debug
  5660.  0003h    VPICD        Y  Y    Virtual Prog. Interrupt Controller (PIC) Device
  5661.  0004h    VDMAD        N  N    Virtual Direct Memory Access (DMA) Device
  5662.  0005h    VTD        Y  Y    Virtual Timer Device
  5663.  0006h    V86MMGR         Y    N  N    (Windows3.x) Virtual 8086 Mode Device
  5664.  0006h    V86MMGR        N  Y    (Win95) Virtual 8068 Mode Device
  5665.  0007h    PageSwap    N  N    Paging Device
  5666.  0008h    Parity        N  N    Parity-check trapper
  5667.  0009h    Reboot        N  Y    Ctrl-Alt-Del handler
  5668.  000Ah    VDD        N  Y    Virtual Display Device (GRABBER)
  5669.  000Bh    VSD        N  N    Virtual Sound Device
  5670.  000Ch    VMD         Y    Y  Y    Virtual Mouse Device
  5671.  000Dh    VKD        N  Y    Virtual Keyboard Device
  5672.  000Eh    VCD        N  Y    Virtual COMM Device
  5673.  000Fh    VPD        N  Y    Virtual Printer Device
  5674.  0010h    VHD            Virtual Hard Disk Device (Windows 3.0)
  5675.  0010h    BLOCKDEV     Y    N  N    Virtual Hard Disk Device (Windows 3.1)
  5676.  0010h    IOS         N    N  N    (Win4Workgroups 3.11) DOS386 IOS Device
  5677.  0010h    IOS        Y  Y    Windows95 I/O Supervisor
  5678.  0011h    VMCPD        Y  Y    (Windows3.x) Virtual Math CoProcessor Device
  5679.  0011h    VMCPD        N  Y    (Win95) Virtual Math CoProcessor Device
  5680.  0012h    EBIOS        N  N    Reserve EBIOS page (e.g., on PS/2)
  5681.  0013h    BIOSXLAT    N  N    Map ROM BIOS API between prot & V86 mode
  5682.  0014h    VNETBIOS     Y    N  N    Virtual NetBIOS Device
  5683.  0015h    DOSMGR         Y    Y  N    DOS data instancing (see #2304)
  5684.  0016h    WINLOAD
  5685.  0017h    SHELL        N  Y    (Windows3)
  5686.  0017h    SHELL        Y  Y    (Win95)
  5687.  0018h    VMPOLL         Y    N  N
  5688.  0019h    VPROD
  5689.  001Ah    DOSNET        N  N    assures network integrity across VMs
  5690.  001Ah    VNETWARE    Y  Y    Novell NetWare DOSNET replacement
  5691.  001Bh    VFD        N  N    Virtual Floppy Device
  5692.  001Ch    VDD2            Secondary display adapter
  5693.  001Ch    LoadHi        N  N    Netroom LoadHi Device (RMLODHI.VXD)
  5694.  001Ch    LoadHi        N  N    386MAX LoadHi Device (386MAX.VXD)
  5695.  001Ch    LoadHi        N  N    Win386 LoadHi Device (EMM386.EXE)
  5696.  001Dh    WINDEBUG    N  Y
  5697.  001Dh    TDDebug        N  Y
  5698.  001Eh    TSRLoad            TSR instance utility
  5699.  001Fh    BiosHook        BIOS interrupt hooker VxD
  5700.  0020h    Int13         N    N  N
  5701.  0021h    PageFile     Y    N  Y    Paging File device
  5702.  0022h    SCSI
  5703.  0022h    APIX        N  Y    (Win95)
  5704.  0023h    MCA_POS            Microchannel Programmable Option Select
  5705.  0024h    SCSIFD            SCSI FastDisk device
  5706.  0025h    VPEND            Pen device
  5707.  0026h    APM            Advanced Power Management
  5708.  0026h    VPOWERD        Y  Y    (Win95) power management
  5709.  0027h    VXDLDR         N    Y  Y    (Win4Wg 3.11/Win95) VXD Loader
  5710.  0028h    NDIS         N    Y  Y    (Win4Wg 3.11) Network Driver Interface Spec
  5711.  0029h    ???
  5712.  002Ah    VWIN32        N  Y    (Win95)
  5713.  002Bh    VCOMM         N    Y  Y    (Win4Workgroups 3.11) DOS386 VCOMM Device
  5714.  002Ch    SPOOLER        N  N    Windows95 print spooler
  5715.  002Dh    W32S         Y    N  Y    WIN32s 32-bit extension to Windows API
  5716.  002Eh    ???
  5717.  002Fh    ???
  5718.  0030h    MACH32         N    N  Y    ATI Mach32 video card
  5719.  0031h    NETBEUI         N    N  N    (Win4Workgroups 3.11) NETBEUI
  5720.  0032h    SERVER         N    Y  Y    (Win4Workgroups 3.11) Int21 File Server
  5721.  0032h    VSERVER        N  Y    (Win95) Int21 File Server
  5722.  0033h    CONFIGMG    Y  Y    (Win95)
  5723.  0033h    EDOS        N  N    Windows DOS Box Enhancer by Mom's Software
  5724.  0034h    DWCFGMG.SYS    Y    DOS Plug-and-Play configuration manager
  5725.  0035h    SCSIPORT    N  N    (Win95) virtualized access to SCSI adapter
  5726.  0036h    VFBACKUP    Y  Y    (Win95)
  5727.  0037h    ENABLE        Y  Y    (Win95)
  5728.  0038h    VCOND        Y  Y    (Win95)
  5729.  0039h    ???
  5730.  003Ah    VPMTD         N    N  Y    (Win4Workgroups 3.11) IFAX Scheduler Device
  5731.  003Bh    DSVXD        Y  N    DoubleSpace VxD from MS-DOS v6.x
  5732.  003Ch    ISAPNP        N  N    (Win95)
  5733.  003Dh    BIOS        Y  Y    (Win95)
  5734.  003Eh    WSOCK        Y  Y    (Win95) WinSock
  5735.  003Fh    WSIPX        N  N    (Win95) IPX WinSock
  5736.  0040h    IFSMGR        N  N    (Win95)
  5737.  0041h    VCDFSD        N  N    (Win95) CD-ROM File System Driver (MSCDEX)
  5738.  0042h    MRCI2        N  N    (Win95) DriveSpace3
  5739.  0043h    PCI        N  N    (Win95)
  5740.  0048h    PERF        N  N    (Win95)
  5741.  0051h    ISAPNP        N  N    (Win95) ISA Plug-and-Play manager
  5742.  008Dh    ESDI_506    N  N    (Win95) MFM/RLL/ESDI disk driver
  5743.  0090h    voltrack    N  N    (Win95) Volume Tracker
  5744.  00FDh    FAKEIDE        N  N    (Chicago)
  5745.  0102h    CV1        N  N    Microsoft C/C++ 7.00+ CodeView for Windows
  5746.  011Fh    VFLATD        N  Y    (Win95)
  5747.  0200h    VIPX        Y  Y    NetWare Virtual IPX Driver
  5748.  0200h    VTEMPD            dummy template driver by Ray Patch
  5749.  0201h    VNWLSERV    N  N    NetWare Lite 1.1 Server (SERVER.EXE)
  5750.  0202h    WINICE        Y  Y    SoftICE/W
  5751.  0202h    SICE        Y  Y
  5752.  0203h    VCLIENT        N  Y    NetWare Lite 1.1+ Client
  5753.  0205h    VCAFT        N  N    Novell Virtual CAFT Driver (LANalyzer for Win)
  5754.  0205h    BCW        Y  Y    Nu-Mega Bounds Checker for Windows
  5755.  0206h    VTXRX        N  N    Novell Virtual TXRX Driver (LANalyzer for Win)
  5756.  0207h    DPMS         N    Y  N    Novell DOS Protected Mode Services
  5757.  0234h    VCOMMUTE    Y  Y    PC Tools Commute
  5758.  0442h    VTDAPI        N  Y    MMSys Win386 VTAPI Device
  5759.  0443h    ???
  5760.  0444h    VADMAD            Autoinitialize DMA (Windows 3.0)
  5761.  0445h    VSBD        Y  Y    WinResKit: Sound Blaster Device
  5762.  0446h    VADLIBD         Y    Y  Y    MMSys Win386 AdLib Device (v3.x)
  5763.  0447h    ???
  5764.  0448h    SETULTRA        Gravis UltraSound setup
  5765.  0449h    vjoyd        N  Y    (Win95) joystick
  5766.  044Ah    mmdevldr    Y  Y    (Win95)
  5767.  044Bh    ???
  5768.  044Ch    msmpu401    N  N    (Win95) MPU-401 MIDI driver
  5769.  044Dh    msopl        N  N    (Win95) OPL-3 (SoundBlaster FM) driver
  5770.  044Eh    mssblst        N  N    (Win95) SoundBlaster MIDI driver
  5771.  045Dh    VflatD        N  Y    dva.386, part of WIN32s
  5772.  045Eh    ???
  5773.  045Fh    mssndsys        Microsoft Sound System audio driver
  5774.  045Fh    azt16        Y  Y    Aztech Sound Galaxy 16 audio driver
  5775.  0460h    UNIMODEM    N  Y    Universal Modem driver
  5776.  0480h    VNetSup         N    Y  Y    (Win4Workgrps 3.11) Virtual Network Support
  5777.  0481h    VRedir         N    N  N    (Win4Workgroups 3.11) Redirector File System
  5778.  0481h    VREDIR        N  N    (Win95) Redirector File System driver
  5779.  0482h    VBrowse        Y  Y    Win386 Virtual Browser
  5780.  0482h    SNAPVXD        Y  Y    (Win95)
  5781.  0483h    VSHARE        N  N    (Win4Workgroups) Virtual SHARE
  5782.  0483h    VSHARE        Y  Y    (Win95) Virtual SHARE
  5783.  0484h    IFSMgr         Y    N  Y    (Win4Wg 3.11) Installable File System Manager
  5784.  0485h    ???            ???
  5785.  0486h    VFAT         N    Y  Y    (Win4Workgroups 3.11) Win386 HPFS Driver
  5786.  0487h    NWLINK        Y  Y    Win386 Virtual Packet Exchange Protocol
  5787.  0487h    NWSUP         Y    N  N    NetWare Vnetbios shim
  5788.  0488h    VTDI        N  N    (Win95)
  5789.  0489h    VIP        Y  N    (Win95)
  5790.  048Ah    VTCP        Y
  5791.  048Ah    MSTCP        Y  N    (Win95) TCP stack
  5792.  048Bh    VCache         N    Y  Y    (Win4Workgroups 3.11) Virtual File Cache
  5793.  048Bh    VCACHE        Y  Y    (Win95) disk cache
  5794.  048Ch    ???            ???
  5795.  048Dh    RASMAC        Y  Y    enhanced mode Win4Workgroups RASMAC device
  5796.  048Eh    NWREDIR        Y  Y    (Win95)
  5797.  048Fh    ???            ???
  5798.  0490h    ???            ???
  5799.  0491h    FILESEC            (Win95) File Access Control Manager
  5800.  0492h    NWSERVER        (Win95)
  5801.  0493h    SECPROV            (Win95) Security Provider
  5802.  0494h    NSCL        Y  Y    (Win95)
  5803.  0495h    AFVXD        N  N    (Win95)
  5804.  0496h    NDIS2SUP        (W4Wg???)
  5805.  0497h    MSODISUP    N  N    (W4Wg???)
  5806.  0498h    Splitter    N  N    (Win95)
  5807.  0499h    PPPMAC        Y  Y    (Win95)
  5808.  049Ah    VDHCP        Y  Y    (Win95)
  5809.  049Bh    VNBT        Y  Y    (Win95) NetBIOS-over-TCP/IP driver
  5810.  049Ch    ???
  5811.  049Dh    LOGGER            (Win95)
  5812.  04A2h    IRLAMP            IrDA Infrared Enumerator VxD
  5813.  097Ch    PCCARD        N  Y    (Win95)
  5814.  1020h    VCV            Microsoft C/C++ 7.00 CodeView
  5815.  1021h    VMB        Y  Y    Microsoft C/C++ 7.00 WXSRVR
  5816.  1022h    Vpfd        Y  Y    Microsoft C/C++ 7.00
  5817.  1025h    MMD        Y  Y    Microsoft C/C++ 8.00, Visual C/C++ 1.00
  5818.  2020h    PIPE        Y  Y    by Thomas W. Olson, in Windows/DOS DevJrn 5/92
  5819.  21EAh    VADLIBWD    N  Y    Adlib Waveform Driver by John Ridges
  5820.  2200h    VFINTD        Y  Y    Norton VFINTD (Norton Desktop)
  5821.  22C0h    ???         Y        Rational Systems DOS/4GW ???
  5822.  2402h    ZMAX        N  N    Qualitas 386MAX v7 DOSMAX handler
  5823.  24A0h    VNSS        N  Y    Norton Screen Saver (Norton Desktop)
  5824.  24A1h    VNDWD        Y  Y    Norton VNDWD Device (Norton Desktop)
  5825.  24A2h    SYMEvent    Y  Y    Norton Utilities v8
  5826.  2540h    VILD        Y  N    INTERLNK client from MS-DOS v6.x
  5827.  2640h    VASBID        N  Y    WinResKit: Artisoft Sounding Board Device
  5828.  2860h    COMMTASK     N    N  Y    Windows 386-mode preemptive tasker by James
  5829.                   A. Kenemuth of Interabang Computing
  5830.  28A0h    PHARLAPX    Y    PharLap inter-VM communications DLL
  5831.  28A1h    PharLap         Y    Y  Y    PharLap 386|DOS-Extender DOSXNT.386
  5832.  28C0h    VXD         N    Y  Y    Generic VxD for real and protected mode by
  5833.                   Andrew Schulman in MSJ February 1993
  5834.  28C1h    PUSHKEYS        VKD_Force_Keys device
  5835.  28C2h    VCR3D            Virtual CR3, by A.Schulman in MSJ October 1992
  5836.  2925h    EDOS        Y  Y    Enhanced DOS by Firefly Software
  5837.  292Dh    VSBPD        Y  Y    Sound Blaster Pro
  5838.  295Ah    GRVSULTR    Y  Y    Gravis UltraSound / UltraSound ACE
  5839.  304Ch    DWCFGMG.SYS    Y    Plug-and-Play configuration access
  5840.  3098h    VstlthD         N    N  N    for QEMM Stealth ROM mode
  5841.  3099h    VVidramD    Y  N    for QEMM VIDRAM support
  5842.  30F6h    WSVV        N  Y    (Win95) WinSock for Voice-View Modems???
  5843.  310Eh    WPS        N  Y    MS DevNet CD-ROM: Windows Process Status
  5844.  3110h    VGSSD        Y  Y    VSGLX16.386 for Aztech Sound Galaxy 16
  5845.  313Bh    PMC            Power Management Coordinator
  5846.  318Ah    LMOUSE        Y  Y    (Win95) Logitech mouse???
  5847.  31CFh    STAT.386        Ton Plooy's processor statistics VxD
  5848.  3202h    VdspD        N  N    (Win95)
  5849.  3203h    vpasd        N  N    (Win95) Pro Audio Spectrum driver
  5850.  32A4h    SBAWE        Y  Y    (Win95) SoundBlaster AWE driver
  5851.  32A5h    VSB16        N  N    (Win95) SoundBlaster 16 driver
  5852.  32CBh    VFRAD        Y  Y    Dr.Franz - Simultan's diagnotics VFRAD.386
  5853.  33AAh    DECCORE        Y  Y    (Win95) DEC Pathworks core VxD
  5854.  33B4h    DECLICL        N  N    (Win95)
  5855.  33F0h    VIWD        Y  Y    Gravis UltraSound Plug-n-Play Interwave v1.x
  5856.  33FCh    ASPIENUM    N  N    (Win95)
  5857.  34DCh    MAGNARAM    N  Y    Quarterdeck MagnaRAM (MAGNA31.VXD/MAGNA95.VXD)
  5858.  357Eh    DSOUND        Y  Y    (Win95) DirectSound
  5859.  36AEh    AIB-PC.386    Y  Y    Sunset Laboratory interface hardware driver
  5860.  377Bh    MX1501HAD        Cherry keyboard chipcard reader
  5861.  38DAh    VIWD        Y  Y    UltraSond PnP InterWave driver v2.0beta
  5862.  4321h    POSTMSG        Y  Y    (see #2360)
  5863.  4321h    VPCD        N  N    PCache
  5864.  4321h    avvxp500    N  N    (Win95) VxP500 driver
  5865.  6001h    REGVXD        Y  Y    Windows95 Registry Monitor helper
  5866.  7A5Fh    SIWVID         Y    Y  Y    Soft-ICE for Windows video driver
  5867.  7FE0h    VSWITCHD    Y  N    by Jeff Prosise
  5868.  7FE0h    VWFD         N    Y  Y    reports windowed/fullscreen state; by Neil
  5869.                   Sandlin of Microsoft, shipped with ANSIPLUS
  5870.  7FE1h    VWATCHD         N    Y  Y    basic driver w/ no functionality except tracing
  5871.                   by Keith Jin of Microsoft PSS
  5872.  7FE5h    VFINTD         N    Y  Y    Virtual Floppy Interrupt trapper by Neil
  5873.                   Sandlin of Microsoft
  5874.  7FE7h    VMPAGES         N    Y  Y    demonstration of exporting VxD services, by
  5875.                   Neil Sandlin of Microsoft
  5876.  7FE8h    VPOSTD        Y  Y    PostMessage() demo by Curtis J. Palmer of MS
  5877.  7FE9h    VIdleD         N    N  N    demonstration of Call_When_Idle function, by
  5878.                   Bernie McIlroy of Microsoft
  5879.  7FEBh    VMIOD         N    N  N    Virtual Monitor I/O Traffic Device, by Neil
  5880.                   Sandlin of Microsoft
  5881.  7FEDh    VMIRQD         N    N  N    Virtual Monitor IRQ Traffic Device, by Neil
  5882.                   Sandlin of Microsoft
  5883.  8888h    VbillD            Bill Potvin II's for reversing Compaq LTE video
  5884.  EEEEh    VEPSD        N  N    Virtual Extended Paging Services for
  5885.                   Borland C++ v4.0
  5886. Notes:    The high bit of the VxD ID is reserved for future use. Originally,
  5887.       the next 10 bits were the OEM number which was assigned by Microsoft,
  5888.       and the low 5 bits were the device number.  Currently, Microsoft
  5889.       assigns VxD IDs individually for each driver; send blank email to
  5890.       vxdid@microsoft.com for more information.
  5891.     "CallOut"=Y indicates that the VxD uses the INT 2F/AX=1607h/BX=VxDID
  5892.       device callout interface; "PM" and "V86" indicate whether the VxD
  5893.       provides an API entry point in protected mode and Virtual-86 mode
  5894.       (e.g. DOS boxes)
  5895. --------W-2F1684BX0001-----------------------
  5896. INT 2F - MS Windows95 - VMM - GET API ENTRY POINT
  5897.     AX = 1684h
  5898.     BX = 0001h (virtual device ID for VMM) (see #2290)
  5899.     ES:DI = 0000h:0000h
  5900. Return: ES:DI -> VxD API entry point (see #2291)
  5901.           0000h:0000h if the VxD does not support an API
  5902. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  5903.  
  5904. (Table 2291)
  5905. Call Windows VMM 16-bit entry point with:
  5906.     AX = function number
  5907.         ---registry functions---
  5908.         0100h "RegOpenKey"
  5909.         STACK:    DWORD    -> DWORD for returned key handle
  5910.             DWORD    -> ASCIZ registry key name
  5911.             DWORD    HKEY (see #2292)
  5912.         0101h "RegCreateKey"
  5913.         STACK:    DWORD    -> DWORD for returned key handle
  5914.             DWORD    -> ASCIZ registry key name
  5915.             DWORD    HKEY (see #2292)
  5916.         0102h "RegCloseKey"
  5917.         STACK:    DWORD    key handle from RegOpenKey or RegCreateKey
  5918.         0103h "RegDeleteKey"
  5919.         STACK:    DWORD    -> ASCIZ registry key name
  5920.             DWORD    HKEY (see #2292)
  5921.         0104h "RegSetValue"
  5922.         STACK:    DWORD    ???
  5923.             DWORD    -> ???
  5924.             DWORD    ???
  5925.             DWORD    -> ???
  5926.             DWORD    HKEY (see #2292)
  5927.         0105h "RegQueryValue"
  5928.         STACK:    DWORD    -> DWORD for ???
  5929.             DWORD    -> ASCIZ ???
  5930.             DWORD    -> ASCIZ ???
  5931.             DWORD    HKEY (see #2292)
  5932.         0106h "RegEnumKey"
  5933.         STACK:    DWORD    ???
  5934.             DWORD    -> ASCIZ ???
  5935.             DWORD    ???
  5936.             DWORD    HKEY (see #2292)
  5937.         0107h "RegDeleteValue"
  5938.         0108h "RegEnumValue"
  5939.         STACK:    DWORD    -> DWORD for ???
  5940.             DWORD    -> BYTE ???
  5941.             DWORD    -> DWORD for ???
  5942.             DWORD    -> DWORD for ???
  5943.             DWORD    -> DWORD for ???
  5944.             DWORD    -> ASCIZ ???
  5945.             DWORD    ???
  5946.             DWORD    HKEY (see #2292)
  5947.         0109h "RegQueryValueEx"
  5948.         010Ah "RegSetValueEx"
  5949.         010Bh "RegFlushKey"
  5950.         010Ch "RegLoadKey"
  5951.         010Dh "RegUnLoadKey"
  5952.         010Eh "RegSaveKey"
  5953.         010Fh "RegRestore"
  5954.         0110h "RegRemapPreDefKey"
  5955. Return: parameters popped from stack
  5956.     DX:AX = return value
  5957.  
  5958. (Table 2292)
  5959. Values for Windows95 VMM predefined HKEY values:
  5960.  80000000h    HKEY_CLASSES_ROOT
  5961.  80000001h    HKEY_CURRENT_USER
  5962.  80000002h    HKEY_LOCAL_MACHINE
  5963.  80000003h    HKEY_USERS
  5964.  80000004h    HKEY_PERFORMANCE_DATA
  5965.  80000005h    HKEY_CURRENT_CONFIG
  5966.  80000006h    HKEY_DYN_DATA
  5967. SeeAlso: #2291
  5968. --------W-2F1684BX0003-----------------------
  5969. INT 2F - MS Windows - VPICD - GET API ENTRY POINT
  5970.     AX = 1684h
  5971.     BX = 0003h (virtual device ID for VPICD device) (see #2290)
  5972.     ES:DI = 0000h:0000h
  5973. Return: ES:DI -> VxD API entry point (see #2293)
  5974.           0000h:0000h if the VxD does not support an API
  5975. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  5976.  
  5977. (Table 2293)
  5978. Call VPICD API entry point with:
  5979.     EAX = function number
  5980.         0000h get version
  5981.         Return: AX = binary version (AH=major, AL=minor)
  5982.         0001h virtualize timer???
  5983.         0002h unvirtualize timer???
  5984. --------W-2F1684BX0005-----------------------
  5985. INT 2F - MS Windows - VTD - GET API ENTRY POINT
  5986.     AX = 1684h
  5987.     BX = 0005h (virtual device ID for VTD device) (see #2290)
  5988.     ES:DI = 0000h:0000h
  5989. Return: ES:DI -> VxD API entry point (see #2294)
  5990.           0000h:0000h if the VxD does not support an API
  5991. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  5992.  
  5993. (Table 2294)
  5994. Call VTD.386/VTD.VXD entry point with:
  5995.     AX = function number
  5996.         0000h get VTD version number
  5997.         Return: CF clear
  5998.             AH = major version
  5999.             AL = minor version
  6000.         0100h get current clock tick time
  6001.         Return: EDX:EAX = clock tick time in 840ns units since Windows
  6002.                   was started
  6003.         0101h get current system time in milliseconds
  6004.         Return: EAX = time in milliseconds that Windows has been
  6005.                   running
  6006.         0102h get current virtual machine time
  6007.         Return: EAX = cumulative amount of time the virtual machine has
  6008.                   been active, in milliseconds
  6009. Note:    this entry point should only be called directly when TOOLHELP.DLL
  6010.       TimerCount() cannot be called
  6011. SeeAlso: #0932,#0934,#0933 at INT 20"Windows"
  6012. --------W-2F1684BX0006-----------------------
  6013. INT 2F P - MS Windows95 - V86MMGR - GET API ENTRY POINT
  6014.     AX = 1684h
  6015.     BX = 0006h (virtual device ID for V86MMGR device) (see #2290)
  6016.     ES:DI = 0000h:0000h
  6017. Return: ES:DI -> VxD API entry point (see #2295)
  6018.           0000h:0000h if the VxD does not support API in current mode
  6019. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6020.  
  6021. (Table 2295)
  6022. Call V86MMGR entry point with:
  6023.     EAX = function number
  6024.         0000h get V86MMGR version
  6025.         Return: CF clear
  6026.             AH = major version
  6027.             AL = minor version
  6028.         0001h get ???
  6029.         Return: CF clear
  6030.             EAX = status bits
  6031.                 bit 0: ???
  6032.                 bit 1: ???
  6033.                 bit 2: ???
  6034.                 bit 3: ???
  6035.                 bit 4: ???
  6036.         else
  6037.         Return: CF set
  6038. --------W-2F1684BX0009-----------------------
  6039. INT 2F P - MS Windows - REBOOT - GET API ENTRY POINT
  6040.     AX = 1684h
  6041.     BX = 0009h (virtual device ID for REBOOT device) (see #2290)
  6042.     ES:DI = 0000h:0000h
  6043. Return: ES:DI -> VxD API entry point (see #2296)
  6044.           0000h:0000h if the VxD does not support an API
  6045. SeeAlso: INT 14/AH=17h"FOSSIL",INT 16/AX=E0FFh
  6046.  
  6047. (Table 2296)
  6048. Call REBOOT protected-mode entry point with:
  6049.     AX = function
  6050.         0100h warm boot
  6051.         Return: never
  6052.         Note:    broadcasts "Reboot_Processor" message, which is caught
  6053.               by the VKD device
  6054.         0201h set KERNEL Ctrl-Alt-Del handler
  6055.         ES:DI -> new Ctrl-Alt-Del handler
  6056.         DS:SI -> KERNEL reboot sanity check byte
  6057.         Return: CF clear
  6058.         Notes:    if an application installs its own handler and then
  6059.               chains to Windows' handler, Windows will no longer
  6060.               be able to detect hung applications, and will always
  6061.               produce an "Application not responding" dialog
  6062.             DS must contain a writable, fixed selector because
  6063.               the provided address is converted to a linear address
  6064.               before being stored
  6065.             when Ctrl-Alt-Del is pressed in the system VM, Reboot
  6066.               sets the sanity check byte to zero, schedules a
  6067.               750ms wait, and then tests whether the check byte is
  6068.               still zero; if not, it displays a message that there
  6069.               is no hung application and then exits
  6070.         0202h get KERNEL Ctrl-Alt-Del handler
  6071.         Return: CF clear
  6072.             ES:DI -> current Ctrl-Alt-Del handler
  6073.         Note:    the default handler is located in KERNEL
  6074.         0203h display "Application not responding" dialog box
  6075.         ES:DI -> ASCIZ name of hung application
  6076.         Return: never if user pressed Ctrl-Alt-Del a second time
  6077.             CF clear
  6078.             AX = result
  6079.                 0000h user pressed Esc
  6080.                 0001h user pressed Enter
  6081.         Note:    this function is used by the default Windows
  6082.               Ctrl-Alt-Del handler
  6083.         0204h set/reset protected-mode INT 01 handler
  6084.         CX:EDX -> new protected-mode INT 01 handler
  6085.         CX = 0000h restore protected-mode INT 01 handler
  6086.         Return: CF clear
  6087.         Notes:    if CX is nonzero, the current handler address is saved
  6088.               internally before the new handler is set; this saved
  6089.               address is then used when CX is zero on entry
  6090.             used by Windows' default Ctrl-Alt-Del handler; actual
  6091.               fatal exit to DOS will be done on next INT 01
  6092.         Warning: opened files are not closed and remain open as
  6093.               orphaned files in DOS
  6094. Note:    functions 0201h and 0203h are not useful outside the system VM
  6095. SeeAlso: #0935,#0937
  6096. --------W-2F1684BX000A-----------------------
  6097. INT 2F P - MS Windows - VDD - GET API ENTRY POINT
  6098.     AX = 1684h
  6099.     BX = 000Ah (virtual device ID for VDD device) (see #2290)
  6100.     ES:DI = 0000h:0000h
  6101. Return: ES:DI -> VxD API entry point (see #2297)
  6102.           0000h:0000h if the VxD does not support API in current mode
  6103. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6104.  
  6105. (Table 2297)
  6106. Call VDD entry point with:
  6107.     EAX = function
  6108.         0000h get VDD version
  6109.         Return: CF clear
  6110.             AH = major version
  6111.             AL = minor version
  6112.         Note:    also performs an internal initialization
  6113.         0001h ???
  6114.         Return: ECX = ???
  6115.             ???
  6116.         0002h
  6117.         0003h
  6118.         0004h
  6119.         0005h
  6120.         0006h
  6121.         0007h
  6122.         0008h
  6123.         0009h
  6124.         0080h
  6125.         0081h
  6126.         0082h
  6127.         0083h
  6128.         0084h
  6129.         0085h
  6130.         0086h
  6131.         0087h
  6132.         0088h
  6133.         0089h
  6134.         else
  6135.         Return: nothing
  6136. --------W-2F1684BX000C-----------------------
  6137. INT 2F - MS Windows - VMD - GET API ENTRY POINT
  6138.     AX = 1684h
  6139.     BX = 000Ch (virtual device ID for VMD device) (see #2290)
  6140.     ES:DI = 0000h:0000h
  6141. Return: ES:DI -> VxD API entry point (see #2298)
  6142.           0000h:0000h if the VxD does not support API in current mode
  6143. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6144.  
  6145. (Table 2298)
  6146. Call VMOUSE entry point with:
  6147.     EAX = function number
  6148.         0000h get VMOUSE version
  6149.         Return: CF clear
  6150.             AH = major version
  6151.             AL = minor version
  6152.         0001h
  6153.         EBX = ???
  6154.         ECX = ???
  6155.         Return: CF clear if successful
  6156.             CF set on error (e.g. fn 0003h not yet called)
  6157.         0002h ??? (calls "test system VM handle")
  6158.         Return: CF clear if successful (in system VM)
  6159.             CF set on error
  6160.         0003h ???
  6161.         ECX = ???
  6162.         DX = ???
  6163.         Return: CF clear
  6164.         0004h ???
  6165.         Note: invokes Call_Priority_VM_Event
  6166.         0005h get mouse port data
  6167.         Return: CF clear
  6168.             AL = ??? (04h)
  6169.             AH = mouse IRQ interrupt number (IRQ4=0Ch,etc.)
  6170.             CX = mouse I/O port address (e.g. 03F8h)
  6171.             DX = COM port number??? (0001h for mouse on COM1)
  6172.         0100h NOP???
  6173.         Return: CF clear
  6174.         0101h init???
  6175.         Return: CF clear
  6176.         Note:    appears to be the same as fn 0005h, but returns no data
  6177.         0102h unimplemented
  6178.         Return: CF set
  6179.         0103h check ???
  6180.         Return: AX = status (0000h/0001h)
  6181.         Note:    checks flag set by fn 0003h
  6182.         else
  6183.         Return: CF set
  6184. SeeAlso: #2297,#2299
  6185. --------W-2F1684BX000D-----------------------
  6186. INT 2F P - MS Windows - VKD - GET API ENTRY POINT
  6187.     AX = 1684h
  6188.     BX = 000Dh (virtual device ID for VKD device) (see #2290)
  6189.     ES:DI = 0000h:0000h
  6190. Return: ES:DI -> VxD API entry point (see #2299)
  6191.           0000h:0000h if the VxD does not support API in current mode
  6192. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6193.  
  6194. (Table 2299)
  6195. Call VKD entry point with:
  6196.     EAX = function
  6197.         0000h get VKD version
  6198.         Return: CF clear
  6199.             AH = major version
  6200.             AL = minor version
  6201.         0001h ???
  6202.         EBX = VM handle or 00000000h to use ??? VM handle
  6203.         CH = ???
  6204.         CL = ???
  6205.         EDX = ??? or FFFFFFFFh
  6206.         Return: CF clear if successful
  6207.             CF set on error
  6208.         else
  6209.         Return: CF set
  6210. SeeAlso: #2298,#2300
  6211. --------W-2F1684BX000E-----------------------
  6212. INT 2F P - MS Windows - VCD - GET API ENTRY POINT
  6213.     AX = 1684h
  6214.     BX = 000Eh (virtual device ID for VCD device) (see #2290)
  6215.     ES:DI = 0000h:0000h
  6216. Return: ES:DI -> VxD API entry point (see #2300)
  6217.           0000h:0000h if the VxD does not support API in current mode
  6218. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6219.  
  6220. (Table 2300)
  6221. Call VCD entry point with:
  6222.     EDX = function number
  6223.         0000h get VCD version
  6224.         Return: CF clear
  6225.             AH = major version
  6226.             AL = minor version
  6227.         0001h get ???
  6228.         Return: CF clear
  6229.             AX = bit mask of ???
  6230.         0002h get ???
  6231.         CX = COM port number
  6232.         Return: CF clear
  6233.             DX:AX -> ???
  6234.         0003h set ???
  6235.         CX = COM port number
  6236.         DX:AX -> new ???
  6237.         Return: CF clear
  6238.         0004h acquire COM port
  6239.         AX = ???
  6240.         CX = COM port number
  6241.         Return: CF clear
  6242.             AX = ???
  6243.             EBX = ???
  6244.             DX = ???
  6245.         0005h release COM port
  6246.         CX = COM port number
  6247.         Return: CF clear
  6248.         0006h ???
  6249.         Return: CF set
  6250.             AL = 00h
  6251.         else
  6252.         Return: CF set
  6253.             EAX = FFFFFFFFh
  6254. Note:    these functions are apparently only available from the system VM,
  6255.       returning CF set and EAX=FFFFFFFFh otherwise
  6256. SeeAlso: #2299,#2301
  6257. --------W-2F1684BX000F-----------------------
  6258. INT 2F P - MS Windows - VPD - GET API ENTRY POINT
  6259.     AX = 1684h
  6260.     BX = 000Fh (virtual device ID for VPD device) (see #2290)
  6261.     ES:DI = 0000h:0000h
  6262. Return: ES:DI -> VxD API entry point (see #2301)
  6263.           0000h:0000h if the VxD does not support API in current mode
  6264. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6265.  
  6266. (Table 2301)
  6267. Call VPD entry point with:
  6268.     EDX = function number
  6269.         0000h get VPD version
  6270.         Return: CF clear
  6271.             AH = major version
  6272.             AL = minor version
  6273.             DX = ??? (CB01h)
  6274.         0001h get valid??? printers
  6275.         Return: CF clear
  6276.             AX = bitmask of ??? printers (bits 0-2)
  6277.         0002h get ??? for printer
  6278.         CX = printer port (0-2)
  6279.         Return: CF clear if successful
  6280.                 BX:AX = ???
  6281.             CF set on error (invalid port number)
  6282.         0003h set ??? for printer
  6283.         CX = printer port (0-2)
  6284.         BX:AX = ???
  6285.         Return:    CF clear if successful
  6286.             CF set on error (invalid port number)
  6287.         0004h ???
  6288.         CX = printer port (0-2)
  6289.         EAX = VM handle
  6290.         Return:    CF clear if successful
  6291.             CF set on error (invalid port number)
  6292.         0005h ???
  6293.         CX = printer port (0-2)
  6294.         EAX = VM handle
  6295.         Return:    CF clear if successful
  6296.             CF set on error (invalid port number or ???)
  6297.         0006h-000Eh unused
  6298.         Return: CF set
  6299.         000Fh ???
  6300.         CX = printer port (0-2)
  6301.         AX = ???
  6302.         Return:    CF clear if successful
  6303.             CF set on error (e.g. invalid port number)
  6304.         0010h ???
  6305.         CX = printer port (0-2)
  6306.         Return:    CF clear if successful
  6307.             CF set on error (e.g. invalid port number)
  6308.         0011h ???
  6309.         CX = printer port (0-2)
  6310.         Return:    CF clear if successful
  6311.             CF set on error (e.g. invalid port number)
  6312.         0012h get port status
  6313.         CX = printer port (0-2)
  6314.         Return:    CF clear if successful
  6315.                 AX = port status (see #P245 at PORT 03BCh"LPT")
  6316.             CF set on error (e.g. invalid port number)
  6317.         else
  6318.         Return: CF set
  6319. Note:    these functions are apparently only available from the system VM,
  6320.       returning CF set
  6321. SeeAlso: #2300,#2302
  6322. --------W-2F1684BX0010-----------------------
  6323. INT 2F - MS Windows - IOS - GET API ENTRY POINT
  6324.     AX = 1684h
  6325.     BX = 0010h (virtual device ID for IOS device) (see #2290)
  6326.     ES:DI = 0000h:0000h
  6327. Return: ES:DI -> VxD API entry point (see #2302)
  6328.           0000h:0000h if the VxD does not support API in current mode
  6329. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6330.  
  6331. (Table 2302)
  6332. Call IOS entry point with:
  6333.     EAX = function number
  6334.         0000h ???
  6335.         Return: CF clear if successful
  6336.                 AX = 0000h
  6337.             CF set on error
  6338.                 AX = FFFFh
  6339.         0001h check if ???
  6340.         Return: CF clear if successful
  6341.                 AX = 0000h
  6342.             CF set on error
  6343.                 AX = FFFFh
  6344.         0002h requestor services???
  6345.         DL = service number???
  6346.         Return: CF clear if successful
  6347.                 AX = 0000h
  6348.                 DX = ???
  6349.             CF set on error
  6350.                 AX = FFFFh
  6351.         Note:    calls "IOS_Requestor_Service" (see INT 20"Windows")
  6352.         0003h ??? (copies five bytes of data internally)
  6353.         Return: CF clear if successful
  6354.                 AX = 0000h
  6355.                 EDX = ???
  6356.             CF set on error
  6357.                 AX = FFFFh
  6358.         else
  6359.         Return: CF set
  6360.             AX = FFFFh
  6361. SeeAlso: #2301,#2303
  6362. --------W-2F1684BX0011-----------------------
  6363. INT 2F - MS Windows - VMCPD - GET API ENTRY POINT
  6364.     AX = 1684h
  6365.     BX = 0011h (virtual device ID for VMCPD device) (see #2290)
  6366.     ES:DI = 0000h:0000h
  6367. Return: ES:DI -> VxD API entry point (see #2303)
  6368.           0000h:0000h if the VxD does not support API in current mode
  6369. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6370.  
  6371. (Table 2303)
  6372. Call Windows95 VMCPD protected-mode entry point with:
  6373.     EAX = function number
  6374.         0000h get VMCPD version
  6375.         Return: CF clear
  6376.             AH = major version
  6377.             AL = minor version
  6378.         0001h get ??? flags
  6379.         Return: CF clear
  6380.             AX = ??? flags
  6381.                 bit 0: ???
  6382.                 bit 1: ???
  6383.                 bit 2: ???
  6384.                 bit 3: ???
  6385.         else
  6386.         Return: CF set
  6387. SeeAlso: #2302,#2304
  6388. --------W-2F1684BX0015-----------------------
  6389. INT 2F - MS Windows - DOSMGR - GET API ENTRY POINT
  6390.     AX = 1684h
  6391.     BX = 0015h (virtual device ID for DOSMGR device) (see #2290)
  6392.     ES:DI = 0000h:0000h
  6393. Return: ES:DI -> VxD API entry point (see #2304,#0946)
  6394.           0000h:0000h if the VxD does not support an API
  6395. SeeAlso: #0946 at INT 20"Windows"
  6396.  
  6397. (Table 2304)
  6398. Call DOSMGR entry point with:
  6399.     AX = 0000h get DOSMGR version
  6400.         Return: CF clear
  6401.             AX = version (AH = major, AL = minor)
  6402.     AX = 0001h set critical focus
  6403.         Return: CF clear
  6404.     AX = 0002h crash current virtual machine
  6405.         Return: never
  6406.         Note:   displays message box stating that "application has been
  6407.               stopped by the DOSMGR device"
  6408.     AX = 0003h enter critical section
  6409.         Note:   this function assumes that the code for INT 2A/AX=8001h
  6410.               and INT 2A/AX=8002h have been modified for Windows
  6411.     AX = 0004h get VM ID byte
  6412.         Return: CF clear if successful
  6413.             ES:DI -> VM ID byte
  6414.             CF set on error
  6415.         Note:   this function fails if the INT 2A modifications have not
  6416.               yet been applied
  6417.     AX = 0005h inform Windows of possible media change
  6418.         BL = drive number (00h=A:)
  6419.         Return: CF clear if successful
  6420.             CF set on error
  6421. SeeAlso: #0946 at INT 20"Windows",#2303,#2305
  6422. --------W-2F1684BX0017-----------------------
  6423. INT 2F U - MS Windows - SHELL - GET API ENTRY POINT
  6424.     AX = 1684h
  6425.     BX = 0017h (virtual device ID for SHELL device) (see #2290)
  6426.     ES:DI = 0000h:0000h
  6427. Return: ES:DI -> VxD API entry point (see #2305)
  6428.           0000h:0000h if the VxD does not support an API
  6429. SeeAlso: AX=1684h/BX=0021h,#0947 at INT 20"Windows"
  6430.  
  6431. (Table 2305)
  6432. Call SHELL entry point with:
  6433.     EDX = function number (0000h-0027h,0100h-0108h, mostly unknown)
  6434.         0000h get version number
  6435.         Return: AX = version number
  6436.             EBX = system VM handle
  6437.         0001h "SHELL_Get_SYSVM_Info" get system VM information
  6438.         Return: CF clear
  6439.             AX bit 0 set if system VM executing exclusively
  6440.             BX = background time slice priority
  6441.             CX = foreground time slice priority
  6442.             SI = minimum time slice in milliseconds
  6443.         0002h "SHELL_Set_SYSVM_Info" set system VM information
  6444.         AX bit 0 set if system VM should execute exclusively (ignored?)
  6445.         BX = background time slice priority (1-10000)
  6446.         CX = foreground time slice priority (1-10000)
  6447.         SI = minimum time slice in milliseconds (1-10000)
  6448.         Return: CF clear if successful
  6449.         0003h "SHELL_Crt_VM" create a virtual machine
  6450.         ES:EDI -> SEB structure (see #2306)
  6451.         Return: CF clear if successful
  6452.                EAX = VM handle
  6453.             CF set on error
  6454.                EDX,EAX = result from GetSetDetailedVMError()
  6455.         0004h "SHELL_Destroy_VM" destroy a virtual machine
  6456.         EBX = VM handle (not system VM)
  6457.         Return: nothing
  6458.         0005h "SHELL_Set_Focus"
  6459.         EBX = VM handle
  6460.         ECX = ???
  6461.         Return: nothing
  6462.         0006h "SHELL_Get_VM_State"
  6463.         EBX = VM handle (not system VM)
  6464.         ES:EDI -> ??? structure
  6465.         Return: CF clear if successful
  6466.         0007h "SHELL_Set_VM_State"
  6467.         EBX = VM handle (not system VM)
  6468.         ES:EDI -> ??? structure
  6469.         0008h "SHELL_Debug_Out"
  6470.         ???
  6471.         Return: ???
  6472.         Note:    dummy function in retail version of MS Windows
  6473.         0009h "SHELL_VMDA_Init"
  6474.         ???
  6475.         Return: ???
  6476.         000Ah "SHELL_VMDA_Exit"
  6477.         ???
  6478.         Return: ???
  6479.         000Bh "SHELL_Get_Message_Txt"
  6480.         ???
  6481.         Return: ???
  6482.         000Ch "SHELL_Event_Complete"
  6483.         ???
  6484.         Return: ???
  6485.         000Dh "SHELL_Get_Contention_Info"
  6486.         ???
  6487.         Return: ???
  6488.         000Eh "SHELL_Get_Clip_Info"
  6489.         ???
  6490.         Return: ???
  6491.         000Fh "SHELL_Set_Paste"
  6492.         ???
  6493.         Return: ???
  6494.         0010h "SHELL_Switcher_Assist"
  6495.         ???
  6496.         Return: ???
  6497.         0011h "SHELL_Get_FileSysChng"
  6498.         ???
  6499.         Return: ???
  6500.         0012h "SHELL_Query_Destroy"
  6501.         ???
  6502.         Return: ???
  6503.         0013h "SHELL_SetFocus_Cur_VM" set input focus to current VM
  6504.         ???
  6505.         Return: ???
  6506.         0014h "SHELL_User_Busy_API"
  6507.         ???
  6508.         Return: ???
  6509.         0015h "SHELL_Chng_Hot_Key"
  6510.         ???
  6511.         Return: ???
  6512.         0016h "SHELL_Get_TermInfo"
  6513.         ???
  6514.         Return: ???
  6515.         ---Windows95---
  6516.         0017h ???
  6517.         0018h ???
  6518.         0019h ???
  6519.         001Ah ???
  6520.         001Bh ???
  6521.         001Ch ???
  6522.         001Dh ???
  6523.         001Eh ???
  6524.         001Fh ???
  6525.         0020h ???
  6526.         0021h ???
  6527.         0022h ???
  6528.         0023h ???
  6529.         0024h ???
  6530.         0025h ???
  6531.         0026h ???
  6532.         Note:    makes VxDCALL 00178002h (see INT 20"Windows")
  6533.         0027h ???
  6534.         0100h get ??? version
  6535.         Return: AX = version??? (0400h for Windows95)
  6536.         0101h not implemented
  6537.         Return: CF set
  6538.             EAX = FFFFFFFFh
  6539.         0102h not implemented
  6540.         Return: CF set
  6541.             EAX = FFFFFFFFh
  6542.         0103h not implemented
  6543.         Return: CF set
  6544.             EAX = FFFFFFFFh
  6545.         0104h ???
  6546.         0105h ???
  6547.         0106h ???
  6548.         ???
  6549.         Return: CF clear if successful
  6550.             CF set on error
  6551.         0107h get SDK version for VxD
  6552.         AX = VxD identifier
  6553.         Return: EAX = VxD ID (high word) and SDK version (low)
  6554.                 00000000h if no such VxD loaded
  6555.         Note:    makes a VMMCALL 0001013Fh (see INT 20"Windows")
  6556.               followed by ???
  6557.         0108h ???
  6558. Return: CF set if called from VM other than system VM
  6559.         EAX = FFFFFFFFh
  6560. Note:    except for functions 0013h,0026h,and 010xh, this API may only be
  6561.       called from the system VM
  6562. SeeAlso: #0947 at INT 20"Windows"
  6563.  
  6564. Format of Shell Execution Block (SEB):
  6565. Offset    Size    Description    (Table 2306)
  6566.  00h    DWORD    PIF flags (see #2307)
  6567.  04h    DWORD    display flags (see #2308)
  6568.  08h    PWORD    -> pathname of .EXE to run
  6569.  0Eh    PWORD    -> argument list
  6570.  14h    PWORD    -> working drive/directory
  6571.  1Ah    WORD    desired number of V86 pages for virtual machine
  6572.  1Ch    WORD    minimum number of V86 pages for VM
  6573.  1Eh    WORD    foreground priority
  6574.  20h    WORD    background priority
  6575.  22h    WORD    maximum KB of EMS
  6576.  24h    WORD    minimum KB of EMS
  6577.  26h    WORD    maximum KB of XMS
  6578.  28h    WORD    minimum KB of XMS
  6579.  2Ah    WORD    maximum KB of DPMI???
  6580.  2Ch    WORD    minimum KB of DPMI???
  6581.  2Eh 128 BYTEs    title
  6582. Note:    the PWORDs at offsets 08h,0Eh, and 14h consist of a DWORD offset
  6583.       followed by a WORD selector
  6584.  
  6585. Bitfields for 386 Enhanced Mode PIF flags:
  6586. Bit(s)    Description    (Table 2307)
  6587.  0    exclusive use of processor when VM is fullscreen
  6588.  1    VM runs in background
  6589.  2    VM runs in window
  6590.  3-4    ???
  6591.  5    Alt-Tab reserved
  6592.  6    Alt-Esc reserved
  6593.  7    Alt-Space reserved
  6594.  8    Alt-Enter reserved
  6595.  9    Alt-PrtSc reserved
  6596.  10    PrtSc reserved
  6597.  11    Ctrl-Esc reserved
  6598.  12    VM will release idle time slice
  6599.  13    VM not allowed to use high memory
  6600.  14    ???
  6601.  15    VM expanded memory not pageable
  6602.  16    VM extended memory not pageable
  6603.  17    Fast paste from clipboard enabled
  6604.  18    VM application memory not pageable
  6605.  30    Close VM when application exits
  6606. SeeAlso: #2306,#2308
  6607.  
  6608. Bitfields for SHELL display options:
  6609. Bit(s)    Description    (Table 2308)
  6610.  0    emulate text mode
  6611.  1    monitor text port
  6612.  2    monitor low graphics port
  6613.  3    monitor high graphics port
  6614.  7    Retain video memory
  6615. SeeAlso: #2306,#2307
  6616. --------W-2F1684BX001A-----------------------
  6617. INT 2F - MS Windows - VNETWARE - GET API ENTRY POINT
  6618.     AX = 1684h
  6619.     BX = 001Ah (virtual device ID for VNETWARE device) (see #2290)
  6620.     ES:DI = 0000h:0000h
  6621. Return: ES:DI -> VxD API entry point
  6622.           0000h:0000h if the VxD does not support API in current mode
  6623. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6624. --------W-2F1684BX001D-----------------------
  6625. INT 2F P - MS Windows - WINDEBUG - GET API ENTRY POINT
  6626.     AX = 1684h
  6627.     BX = 001Dh (virtual device ID for WINDEBUG device) (see #2290)
  6628.     ES:DI = 0000h:0000h
  6629. Return: ES:DI -> VxD API entry point
  6630.           0000h:0000h if the VxD does not support API in current mode
  6631. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6632. --------W-2F1684BX0021-----------------------
  6633. INT 2F PU - MS Windows - PAGEFILE - GET API ENTRY POINT
  6634.     AX = 1684h
  6635.     BX = 0021h (virtual device ID for PAGEFILE device) (see #2290)
  6636.     ES:DI = 0000h:0000h
  6637. Return: ES:DI -> VxD API entry point (see #2309)
  6638.           0000h:0000h if the VxD does not support an API
  6639. SeeAlso: AX=1684h/BX=0017h,#0952 at INT 20"Windows"
  6640.  
  6641. (Table 2309)
  6642. Call PAGEFILE entry point with:
  6643.     AX = function
  6644.         0000h get version
  6645.         Return: CF clear
  6646.             AX = version (AH = major, AL = minor)
  6647.         0001h get swap file info
  6648.         DS:SI -> 128-byte buffer for swap file full pathname
  6649.         DS:DI -> 128-byte buffer for SPART.PAR full pathname
  6650.         Return: CF clear
  6651.             AL = pager type (see #2310)
  6652.             AH = flags
  6653.                 bit 7: swap file corrupted
  6654.             ECX = maximum size of swap file
  6655.             DS:SI buffer filled if paging enabled
  6656.             DS:DI buffer filled if permanent swap file
  6657.         0002h delete permanent swap file on exit
  6658.         Return: CF clear
  6659.         0003h get current temporary swap file size
  6660.         Return: CF clear
  6661.             DX:AX = current swap file size in bytes
  6662.                 0000h:0000h if permanent swap file
  6663. Note:    this API is only available in protected mode, and may only be called
  6664.       from the system VM
  6665. SeeAlso: #0952 at INT 20"Windows",#2311
  6666.  
  6667. (Table 2310)
  6668. Values for MS Windows PAGEFILE pager type:
  6669.  00h    paging disabled
  6670.  01h    MSDOS
  6671.  02h    BIOS
  6672.  03h    32-bit disk access
  6673. SeeAlso: #2309
  6674. --------W-2F1684BX0022-----------------------
  6675. INT 2F P - MS Windows - APIX - GET API ENTRY POINT
  6676.     AX = 1684h
  6677.     BX = 0022h (virtual device ID for APIX device) (see #2290)
  6678.     ES:DI = 0000h:0000h
  6679. Return: ES:DI -> VxD API entry point (see #2311)
  6680.           0000h:0000h if the VxD does not support API in current mode
  6681. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6682.  
  6683. (Table 2311)
  6684. Call APIX protected-mode entry point with:
  6685.     AH = function number
  6686.         00h get APIX version
  6687.         Return: CF clear
  6688.             AH = major version
  6689.             AL = minor version
  6690.         01h ???
  6691.         Return: CF clear
  6692.             AX = number of ???
  6693.         02h NOP
  6694.         Return: CF clear
  6695.         03h ???
  6696.         Return: CF clear
  6697.             AX = 0000h/FFFFh
  6698.         else
  6699.         Return: CF clear (bug?)
  6700. SeeAlso: #2309,#2314
  6701. --------W-2F1684BX0026-----------------------
  6702. INT 2F P - MS Windows - VPOWERD - GET API ENTRY POINT
  6703.     AX = 1684h
  6704.     BX = 0026h (virtual device ID for VPOWERD device) (see #2290)
  6705.     ES:DI = 0000h:0000h
  6706. Return: ES:DI -> VxD API entry point (see #2312)
  6707.           0000h:0000h if the VxD does not support API in current mode
  6708. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6709.  
  6710. (Table 2312)
  6711. Call VPOWERD.VXD entry point with:
  6712.     AX = function number
  6713.         0000h get VPOWERD version
  6714.         Return: DX = 0000h
  6715.             AX = version (AH = major, AL = minor)
  6716.         0001h get APM BIOS version
  6717.         Return: DX:AX = APM BIOS version
  6718.         0002h get current power management level
  6719.         Return: DX:AX = power management level
  6720.         0003h enable/disable power management (see INT 15/AX=5308h)
  6721.         ??? = new state of power management
  6722.         Return: DX:AX = 0000h:0000h if successful
  6723.                else error code (see #2313)
  6724.         0004h set power state (see INT 15/AX=5307h)
  6725.         Return: DX:AX = 0000h:0000h if successful
  6726.                else error code (see #2313)
  6727.         0005h set system power status
  6728.         Return: DX:AX = 0000h:0000h if successful
  6729.                else error code (see #2313)
  6730.         0006h restore APM power-on defaults (see INT 15/AX=5309h)
  6731.         Return: DX:AX = 0000h:0000h if successful
  6732.                else error code (see #2313)
  6733.         0007h get power status (see INT 15/AX=530Ah)
  6734.         Return: ???
  6735.         0008h get APM 1.1 power state (see INT 15/AX=530Ch)
  6736.         Return: ???
  6737.         0009h invoke OEM APM function
  6738.         ??? -> buffer containing parameters for INT 15/AX=5380h
  6739.         Return: DX:AX = 0000h:0000h or error code (see #2313)
  6740.             buffer updated if successful
  6741.         000Ah register power handler
  6742.         ???
  6743.         Return: DX:AX = 0000h:0000h or error code
  6744.         000Bh deregister power handler
  6745.         ???
  6746.         Return: DX:AX = 0000h:0000h or error code (see #2313)
  6747.         000Ch Win32 get system power status
  6748.         000Dh Win32 set system power status
  6749.         else
  6750.         Return: DX = 0000h
  6751.             AX = 00FFh
  6752. SeeAlso: #2311,#2314
  6753.  
  6754. (Table 2313)
  6755. Values for VPOWERD.VXD error code:
  6756.  000000xxh    APM error code
  6757.  000000FFh    function number out of range
  6758.  80000001h    ??? (service 05h)
  6759.  80000002h    ??? (service 0Dh)
  6760.  80000003h    specified NULL buffer pointer (service 07h,08h,09h)
  6761.  80000005h    ??? (service 03h)
  6762.  80000006h    ??? (service 04h)
  6763.  80000007h    ??? (service 05h)
  6764.  80000008h    ??? (service 05h)
  6765.  80000009h    out of memory (service 0Ah)
  6766.  8000000Ah    ??? (service 0Ah)
  6767.  8000000Bh    invalid power handler (service 0Bh)
  6768.  8000000Ch    unsupported/disabled??? function
  6769. SeeAlso: #2312,#0953
  6770. --------W-2F1684BX0027-----------------------
  6771. INT 2F - MS Windows95 - VXDLDR - GET API ENTRY POINT
  6772.     AX = 1684h
  6773.     BX = 0027h (virtual device ID for VXDLDR device) (see #2290)
  6774.     ES:DI = 0000h:0000h
  6775. Return: ES:DI -> VxD API entry point (see #2314)
  6776.           0000h:0000h if the VxD does not support API in current mode
  6777. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6778.  
  6779. (Table 2314)
  6780. Call VXDLDR entry point with:
  6781.     EAX = function number
  6782.         0000h get VXDLDR version
  6783.         Return: CF clear
  6784.             AX = 0000h (successful)
  6785.             DH = major version
  6786.             DL = minor version
  6787.         0001h load device
  6788.         ???
  6789.         Return: CF clear if successful
  6790.                 AX = 0000h
  6791.             CF set on error
  6792.                 AX = error code (see #2315)
  6793.         0002h unload device
  6794.         BX = ???
  6795.         Return: CF clear if successful
  6796.                 AX = 0000h
  6797.             CF set on error
  6798.                 AX = error code (see #2315)
  6799.         else
  6800.         Return: CF set
  6801.             AX = 000Bh
  6802. SeeAlso: #2312,#2316
  6803.  
  6804. (Table 2315)
  6805. Values for VXDLDR error code:
  6806.  0000h    successful
  6807.  000Bh    invalid function number
  6808. SeeAlso: #2314
  6809. --------W-2F1684BX0028-----------------------
  6810. INT 2F - MS Windows - NDIS - GET API ENTRY POINT
  6811.     AX = 1684h
  6812.     BX = 0028h (virtual device ID for NDIS device) (see #2290)
  6813.     ES:DI = 0000h:0000h
  6814. Return: ES:DI -> VxD API entry point (see #2316)
  6815.           0000h:0000h if the VxD does not support API in current mode
  6816. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6817.  
  6818. (Table 2316)
  6819. Call NDIS.VXD entry point with:
  6820.     ??? = function number
  6821.         0000h set ??? to ???
  6822.         ??? = new ???
  6823.         Return: DX:AX = 0000h:0001h
  6824.         0002h ???
  6825.         ???
  6826.         Return: DX:AX -> ???
  6827.         0003h reset ??? to default
  6828.         Return: DX:AX = 0000h:0001h
  6829.         else
  6830.         Return: DX:AX = 0000h:0000h
  6831. SeeAlso: #2314,#2317
  6832. --------W-2F1684BX002A-----------------------
  6833. INT 2F P - MS Windows - VWIN32 - GET API ENTRY POINT
  6834.     AX = 1684h
  6835.     BX = 002Ah (virtual device ID for VWIN32 device) (see #2290)
  6836.     ES:DI = 0000h:0000h
  6837. Return: ES:DI -> VxD API entry point (see #2317)
  6838.           0000h:0000h if the VxD does not support API in current mode
  6839. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6840.  
  6841. (Table 2317)
  6842. Call VWIN32.VXD entry point with:
  6843.     AH = function number
  6844.         00h get VWIN32 version and ???
  6845.         Return: CF clear
  6846.             AH = major version
  6847.             AL = minor version
  6848.             EDX = ???
  6849.         01h ???
  6850.         EBX = ???
  6851.         ECX = ???
  6852.         Return: CF clear
  6853.             EAX = ???
  6854.         02h ???
  6855.         Return: CF clear
  6856.             AX = ??? or 0000h
  6857.         03h address allocation
  6858.         DS:??? -> buffer containing/for page data
  6859.         ECX = length of buffer
  6860.         AL = subfunction
  6861.             00h reserve page(s)
  6862.             01h commit page(s)
  6863.             02h decommit page(s)
  6864.             03h free page(s)
  6865.         Return: CF clear if successful
  6866.             CF set on error
  6867.         Note:    this function uses ECX bytes of stack
  6868.         04h get ???
  6869.         Return: CF clear
  6870.             EAX = ???
  6871.         05h ???
  6872.         EBX = ???
  6873.         Return: CF clear
  6874.             EAX = ???
  6875.         06h ???
  6876.         EBX = ???
  6877.         Return: CF clear
  6878.             EAX = ???
  6879.         07h ???
  6880.         EBX = ???
  6881.         Return: CF clear
  6882.             EAX = ???
  6883.         08h get ???
  6884.         Return: CF clear
  6885.             AX = ???
  6886.         09h ???
  6887.         EBX = ???
  6888.         ECX = ???
  6889.         Return: CF clear
  6890.         0Ah ???
  6891.         EBX = ???
  6892.         Return: CF clear
  6893.         0Bh ???
  6894.         EBX = ???
  6895.         Return: CF clear
  6896.         0Ch ???
  6897.         EBX = ???
  6898.         ECX = ???
  6899.         EDX = ???
  6900.         ???
  6901.         Return: CF clear if successful
  6902.                 EAX = ???
  6903.             CF set on error
  6904.         0Dh clear ???
  6905.         Return: CF clear
  6906.         0Eh ???
  6907.         EBX = ???
  6908.         ECX = ???
  6909.         Return: CF clear
  6910.         0Fh ???
  6911.         EBX = ???
  6912.         ECX = ???
  6913.         Return: CF clear
  6914.         10h ???
  6915.         Return: CF clear
  6916.         Note:    invokes VMMcall 00010184h
  6917.         11h ???
  6918.         Return: CF clear
  6919.         Note:    invokes VMMcall 00010160h
  6920.         12h ???
  6921.         ???
  6922.         13h pop up system error dialogue
  6923.         Return: CF clear
  6924.             AX = ??? or 0000h
  6925.         14h "IFSMgr_GetConversionTablePtrs"
  6926.         Return:    CF clear
  6927.             DX:AX -> ???
  6928.         Note:    invokes VxDcall 00400051h
  6929.         15h "Boost_With_Decay"
  6930.         EBX = ???
  6931.         ECX = ???
  6932.         EDX = ???
  6933.         Return: CF clear
  6934.         else
  6935.         Return: CF set
  6936. SeeAlso: #2316,#2318
  6937. --------W-2F1684BX002B-----------------------
  6938. INT 2F - MS Windows - VCOMM - GET API ENTRY POINT
  6939.     AX = 1684h
  6940.     BX = 002Bh (virtual device ID for VCOMM device) (see #2290)
  6941.     ES:DI = 0000h:0000h
  6942. Return: ES:DI -> VxD API entry point (see #2318)
  6943.           0000h:0000h if the VxD does not support API in current mode
  6944. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  6945.  
  6946. (Table 2318)
  6947. Call VCOMM.VXD entry point with:
  6948.     AX = function number
  6949.         0000h open COM/LPT port
  6950.         BX = port number (00h-7Fh = COMx, 80h-FFh = LPTx)
  6951.         Return: DX:AX = ???
  6952.         0001h set comm state
  6953.         ???
  6954.         Return: AX = ???
  6955.         0002h setup comm port
  6956.         ???
  6957.         Return: AX = status (0000h failed, FFFFh success)
  6958.         0003h transmit character
  6959.         EBX = handle???
  6960.         ECX = ???
  6961.         Return: AX = status???
  6962.         0004h close comm port
  6963.         EBX = handle???
  6964.         Return: ???
  6965.         0005h clear comm error
  6966.         EBX = handle???
  6967.         EAX = ???
  6968.         Return: AX = status???
  6969.         0006h "EscapeCommFunction"
  6970.         EBX = handle???
  6971.         ECX = ???
  6972.         EAX = ???
  6973.         Return: DX:AX = ???
  6974.         0007h purge buffers
  6975.         EBX = handle???
  6976.         CX = ???
  6977.         Return: AX = status???
  6978.         0008h set comm event mask
  6979.         EBX = handle???
  6980.         CX = new event mask
  6981.         Return: AX = status???
  6982.         0009h get comm event mask
  6983.         EBX = handle???
  6984.         Return: AX = current event mask
  6985.         000Ah ???
  6986.         EBX = handle???
  6987.         Return: ???
  6988.         000Bh "WriteComm"
  6989.         EBX = handle???
  6990.         ECX = number of characters to write
  6991.         Return: AX = status
  6992.             EAX high word may be destroyed
  6993.         000Ch "ReadComm"
  6994.         EBX = handle???
  6995.         ECX = number of bytes to read
  6996.         Return: AX = status ???
  6997.             ZF = ???
  6998.         000Dh set ??? callback
  6999.         EBX = handle???
  7000.         ECX = ???
  7001.         EDX = ???
  7002.         Return: AX = status???
  7003.         else
  7004.         Return: AX = 0000h
  7005. SeeAlso: #2317,#2319
  7006. --------W-2F1684BX002D-----------------------
  7007. INT 2F P - MS Windows - W32S - GET API ENTRY POINT
  7008.     AX = 1684h
  7009.     BX = 002Dh (virtual device ID for W32S device) (see #2290)
  7010.     ES:DI = 0000h:0000h
  7011. Return: ES:DI -> VxD API entry point
  7012.           0000h:0000h if the VxD does not support API in current mode
  7013. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7014. --------W-2F1684BX0030-----------------------
  7015. INT 2F P - MS Windows - MACH32 - GET API ENTRY POINT
  7016.     AX = 1684h
  7017.     BX = 0030h (virtual device ID for MACH32 device) (see #2290)
  7018.     ES:DI = 0000h:0000h
  7019. Return: ES:DI -> VxD API entry point
  7020.           0000h:0000h if the VxD does not support API in current mode
  7021. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7022. --------W-2F1684BX0032-----------------------
  7023. INT 2F - MS Windows - SERVER / VSERVER - GET API ENTRY POINT
  7024.     AX = 1684h
  7025.     BX = 0032h (virtual device ID for SERVER device) (see #2290)
  7026.     ES:DI = 0000h:0000h
  7027. Return: ES:DI -> VxD API entry point (see #2319)
  7028.           0000h:0000h if the VxD does not support API in current mode
  7029. SeeAlso: AX=1684h"DEVICE API",#0959 at INT 20"Windows"
  7030.  
  7031. (Table 2319)
  7032. Call Windows95 VSERVER.VXD protected-mode entry point with:
  7033.     AX = function number
  7034.         0003h NOP
  7035.         Return: AX = 0000h
  7036.         0004h NOP
  7037.         Return: AX = 0000h
  7038.         0007h NOP
  7039.         Return: AX = 0000h
  7040.         0008h NOP
  7041.         Return: nothing
  7042.         000Fh ???
  7043.         Return: AX = status
  7044.                 0000h successful
  7045.                 0842h on error
  7046.         0010h ???
  7047.         Return: AX = status
  7048.                 0000h successful
  7049.                 0842h on error
  7050.         else
  7051.         Return: AX = 0032h
  7052. SeeAlso: #2318,#2320
  7053. --------W-2F1684BX0033-----------------------
  7054. INT 2F - MS Windows - CONFIGMG - GET API ENTRY POINT
  7055.     AX = 1684h
  7056.     BX = 0033h (virtual device ID for CONFIGMG device) (see #2290)
  7057.     ES:DI = 0000h:0000h
  7058. Return: ES:DI -> VxD API entry point (see #2320)
  7059.           0000h:0000h if the VxD does not support API in current mode
  7060. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7061.  
  7062. (Table 2320)
  7063. Call CONFIGMG.VXD entry point with:
  7064.     AX = function number
  7065.         0000h get CONFIGMG version
  7066.         Return: CF clear
  7067.             AH = major version
  7068.             AL = minor version
  7069.         ...
  7070.         005Ah
  7071.         else
  7072.         Return: CF set
  7073.             AX = 0020h
  7074. SeeAlso: #0960 at INT 20"Windows",#2319,#2321
  7075. --------x-2F1684BX0034-----------------------
  7076. INT 2F - Intel Plug-and-Play - CONFIGURATION MANAGER - GET ENTRY POINT
  7077.     AX = 1684h
  7078.     BX = 0034h (ID for Configuration Manager) (see #2290)
  7079.     ES:DI = 0000h:0000h
  7080. Return: ES:DI -> API entry point (see #2321)
  7081.           0000h:0000h if Configuration Manager not loaded
  7082. Note:    this API is often provided by a DOS device driver, in which case it
  7083.       is available whether or not MSWindows is running
  7084. Index:    installation check;Plug-and-Play Configuration Manager
  7085. SeeAlso: AX=1684h/BX=304Ch
  7086.  
  7087. (Table 2321)
  7088. Call Configuration Manager entry point with:
  7089.     AX = function
  7090.         0000h "CM_GetVersion" get supported DDI version
  7091.         Return: AH = BCD major version
  7092.             AL = BCD minor version
  7093.             BX = number of devices identified by configuration
  7094.         Note:    returns AX = 0000h if no config manager installed
  7095.         0001h "CM_GetConfig" get device configuration
  7096.         BX = device index
  7097.         ES:DI -> buffer for configuration information (see #2323)
  7098.         Return: AX = status
  7099.                 0000h successful
  7100.                 ES:DI buffer filled
  7101.                 other error code (0001h = index out of range)
  7102.         0002h "CM_LockConfig" lock device configuration
  7103.         ES:DI -> configuration information (see #2323)
  7104.         Return: AX = status
  7105.                 0000h successful
  7106.                 ES:DI buffer filled with assigned config
  7107.                 0001h resources conflict
  7108.                 0002h invalid request or configuration info
  7109.         0003h "CM_UnlockConfig" unlock device configuration
  7110.         ES:DI -> configuration information (see #2323)
  7111.         Return: AX = status
  7112.                 0000h successful
  7113.                 ES:DI buffer filled with assigned config
  7114.                 0001h invalid request or configuration info
  7115.         0004h "CME_QueryResources" get hot-swappable resources
  7116.         ES:DI -> configuration information (see #2323)
  7117.         Return: AX = status (see #2322)
  7118.         0005h "CME_AllocResources" remove resources from available pool
  7119.         ES:DI -> configuration information (see #2323)
  7120.         Return: AX = status (see #2322)
  7121.         0006h "CME_DeallocResources" return resources to available pool
  7122.         ES:DI -> configuration information (see #2323)
  7123.         Return: AX = status (see #2322)
  7124. SeeAlso: #0961 at INT 20"Windows",#2320,#2324
  7125.  
  7126. (Table 2322)
  7127. Values for Configuration Manager status:
  7128.  00h    successful
  7129.  01h    device not found, configuration error
  7130.  02h    I/O port unavailable
  7131.  04h    IRQ unavailable
  7132.  08h    DMA channel unavailable
  7133.  10h    memory range unavailable
  7134. SeeAlso: #2321
  7135.  
  7136. Format of Configuration Information Structure:
  7137. Offset    Size    Description    (Table 2323)
  7138.  00h    DWORD    bus ID
  7139.  04h    DWORD    device ID
  7140.  08h    DWORD    serial number
  7141.  0Ch    DWORD    logical ID
  7142.  10h    DWORD    flags
  7143. ---ISA bus---
  7144.  14h    BYTE    Card Select Number
  7145.  15h    BYTE    logical device number
  7146.  16h    WORD    Read Data port
  7147. ------
  7148.  18h    WORD    number of memory windows
  7149.  1Ah  9 DWORDs    physical base addresses of memory windows
  7150.  3Eh  9 DWORDs    length of memory windows
  7151.  62h  9 WORDs    memory window attributes
  7152.  74h    WORD    number of I/O ports
  7153.  76h 20 WORDs    I/O port base addresses
  7154.  B6h 20 WORDs    lengths of I/O port ranges
  7155.  F6h    WORD    number of IRQs
  7156.  F8h  7 BYTEs    IRQ registers
  7157.  FFh  7 BYTEs    IRQ attributes
  7158. 106h    WORD    number of DMA channels
  7159. 108h  7 BYTEs    DMA channels used
  7160. 10Fh  7 WORDs    DMA channel attributes
  7161. 11Dh  3 BYTEs    reserved
  7162. SeeAlso: #2321
  7163. --------W-2F1684BX0036-----------------------
  7164. INT 2F - MS Windows - VFBACKUP - GET API ENTRY POINT
  7165.     AX = 1684h
  7166.     BX = 0036h (virtual device ID for VFBACKUP device) (see #2290)
  7167.     ES:DI = 0000h:0000h
  7168. Return: ES:DI -> VxD API entry point (see #2324)
  7169.           0000h:0000h if the VxD does not support API in current mode
  7170. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7171.  
  7172. (Table 2324)
  7173. Call VFBACKUP.VXD entry point with:
  7174.     nothing -- this API is a NOP for the default Windows95 VFBACKUP
  7175. SeeAlso: #2321,#0863
  7176. --------W-2F1684BX0037-----------------------
  7177. INT 2F - MS Windows - ENABLE.VXD - GET API ENTRY POINT
  7178.     AX = 1684h
  7179.     BX = 0037h (virtual device ID for ENABLE device) (see #2325)
  7180.     ES:DI = 0000h:0000h
  7181. Return: ES:DI -> VxD API entry point (see #2324)
  7182.           0000h:0000h if the VxD does not support API in current mode
  7183. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7184.  
  7185. (Table 2325)
  7186. Call Windows95 ENABLE.VXD entry point with:
  7187.     AX = function number
  7188.         0000h get ENABLE version
  7189.         Return:    CF clear
  7190.             AX = version (AH = major, AL = minor)
  7191.         0001h
  7192.         EBX = ???
  7193.         Return: ???
  7194.         0002h get ???
  7195.         Return: CF clear
  7196.             DX:AX = ???
  7197.         0003h get ???
  7198.         Return: CF clear
  7199.             DX:AX = ???
  7200.         0004h ???
  7201.         EBX = ???
  7202.         ECX = ???
  7203.         EDX = ???
  7204.         Return: CF clear if successful
  7205.             CF set on error
  7206.         else
  7207.         Return: CF set
  7208. SeeAlso: #2324,#2326
  7209. --------W-2F1684BX0038-----------------------
  7210. INT 2F - MS Windows - VCOND - GET API ENTRY POINT
  7211.     AX = 1684h
  7212.     BX = 0038h (virtual device ID for VCOND device) (see #2290)
  7213.     ES:DI = 0000h:0000h
  7214. Return: ES:DI -> VxD API entry point (see #2326)
  7215.           0000h:0000h if the VxD does not support API in current mode
  7216. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7217.  
  7218. (Table 2326)
  7219. Call VCOND.VXD virtual-86 entry point with:
  7220.     AX = function number
  7221.         0202h
  7222.         0203h
  7223.         0204h
  7224.         0205h
  7225.         0206h
  7226.         0207h
  7227.         0208h
  7228.         0209h
  7229.         020Ah
  7230.         020Bh
  7231.         020Dh
  7232.         020Eh
  7233.         020Fh
  7234.         0210h
  7235.         0401h
  7236.         0402h
  7237.         0403h
  7238.         0404h
  7239.         0405h
  7240.         else
  7241.         NOP
  7242. SeeAlso: #2327,#2325
  7243.  
  7244. (Table 2327)
  7245. Call VCOND.VXD protected-mode entry point with:
  7246.     AX = function number
  7247.         0301h
  7248.         0302h
  7249.         0303h
  7250.         0304h
  7251.         0305h
  7252.         0306h
  7253.         0307h
  7254.         0308h
  7255.         else
  7256.         NOP
  7257. SeeAlso: #2326,#2324
  7258. --------W-2F1684BX003B-----------------------
  7259. INT 2F - MS Windows - DSVXD - GET API ENTRY POINT
  7260.     AX = 1684h
  7261.     BX = 003Bh (virtual device ID for DSVXD device) (see #2290)
  7262.     ES:DI = 0000h:0000h
  7263. Return: ES:DI -> VxD API entry point
  7264.           0000h:0000h if the VxD does not support API in current mode
  7265. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7266. --------W-2F1684BX003D-----------------------
  7267. INT 2F - MS Windows - BIOS VxD - GET API ENTRY POINT
  7268.     AX = 1684h
  7269.     BX = 003Dh (virtual device ID for BIOS device) (see #2290)
  7270.     ES:DI = 0000h:0000h
  7271. Return: ES:DI -> VxD API entry point (see #2328)
  7272.           0000h:0000h if the VxD does not support API in current mode
  7273. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7274.  
  7275. (Table 2328)
  7276. Call BIOS.VXD entry point with:
  7277.     AX = function number
  7278.         0000h get BIOS.VXD version
  7279.         Return: CF clear
  7280.             AH = major version
  7281.             AL = minor version
  7282.         0100h ???
  7283.         Return: AX = 0000h
  7284.         Note:    calls CONFIGMG services 804Eh/804Fh
  7285.         0200h ???
  7286.         Return: CF clear if successful
  7287.                 AX = ???
  7288.             CF set on error
  7289.                 AX = error code???
  7290.         Note:    invokes VxDcall 00290002h
  7291.         0300h ???
  7292.         Return: CF clear if successful
  7293.                 AX = ???
  7294.             CF set on error
  7295.                 AX = error code???
  7296.         else
  7297.         Return: CF set
  7298. SeeAlso: #2327,#2329
  7299. --------W-2F1684BX003E-----------------------
  7300. INT 2F - MS Windows - WSOCK - GET API ENTRY POINT
  7301.     AX = 1684h
  7302.     BX = 003Eh (virtual device ID for WSOCK device) (see #2290)
  7303.     ES:DI = 0000h:0000h
  7304. Return: ES:DI -> VxD API entry point
  7305.           0000h:0000h if the VxD does not support API in current mode
  7306. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7307. --------W-2F1684BX011F-----------------------
  7308. INT 2F P - MS Windows - VFLATD - GET API ENTRY POINT
  7309.     AX = 1684h
  7310.     BX = 011Fh (virtual device ID for VFLATD device) (see #2290)
  7311.     ES:DI = 0000h:0000h
  7312. Return: ES:DI -> VxD API entry point (see #2329)
  7313.           0000h:0000h if the VxD does not support API in current mode
  7314. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7315.  
  7316. (Table 2329)
  7317. Call VFLATD.VXD entry point with:
  7318.     DL = function number
  7319.         00h get VFLATD version and ???
  7320.         Return: CF clear
  7321.             EAX = version (AH = major, AL = minor)
  7322.             EBX = ???
  7323.             ECX = ???
  7324.             EDX = ??? or 00000000h
  7325.         01h ???
  7326.         AX = ???
  7327.         CX = ???
  7328.         Return: EAX = ???
  7329.             EDX = ???
  7330.         02h ???
  7331.         ???
  7332.         03h ???
  7333.         EAX = ???
  7334.         EBX = ???
  7335.         ESI = ???
  7336.         CX = ???
  7337.         DH = ???
  7338.         Return: EAX = ???
  7339.             EDX = ???
  7340.             CF clear
  7341.         04h ???
  7342.         DH = ???
  7343.         EAX = ???
  7344.         ECX = ???
  7345.         Return: CF clear
  7346.             EAX = ???
  7347.             EDX = ???
  7348.         05h ???
  7349.         ???
  7350.         Note:    locks some linear memory and calls fn 02h
  7351.         06h ???
  7352.         ???
  7353.         Return: CF clear if successful
  7354.             CF set on error
  7355.         Note:    calls fn 02h and unlocks some linear memory
  7356.         else
  7357.         Return: CF set
  7358. SeeAlso: #2328
  7359. --------W-2F1684BX0200-----------------------
  7360. INT 2F - MS Windows - VIPX - GET API ENTRY POINT
  7361.     AX = 1684h
  7362.     BX = 0200h (virtual device ID for VIPX device) (see #2290)
  7363.     ES:DI = 0000h:0000h
  7364. Return: ES:DI -> VxD API entry point
  7365.           0000h:0000h if the VxD does not support API in current mode
  7366. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7367. --------W-2F1684BX0202-----------------------
  7368. INT 2F - MS Windows - WINICE - GET API ENTRY POINT
  7369.     AX = 1684h
  7370.     BX = 0202h (virtual device ID for WINICE device) (see #2290)
  7371.     ES:DI = 0000h:0000h
  7372. Return: ES:DI -> VxD API entry point
  7373.           0000h:0000h if the VxD does not support API in current mode
  7374. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7375. --------W-2F1684BX0203-----------------------
  7376. INT 2F P - MS Windows - VCLIENT - GET API ENTRY POINT
  7377.     AX = 1684h
  7378.     BX = 0203h (virtual device ID for VCLIENT device) (see #2290)
  7379.     ES:DI = 0000h:0000h
  7380. Return: ES:DI -> VxD API entry point
  7381.           0000h:0000h if the VxD does not support API in current mode
  7382. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7383. --------W-2F1684BX0205-----------------------
  7384. INT 2F - MS Windows - BCW - GET API ENTRY POINT
  7385.     AX = 1684h
  7386.     BX = 0205h (virtual device ID for BCW device) (see #2290)
  7387.     ES:DI = 0000h:0000h
  7388. Return: ES:DI -> VxD API entry point
  7389.           0000h:0000h if the VxD does not support API in current mode
  7390. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7391. --------W-2F1684BX0207-----------------------
  7392. INT 2F R - MS Windows - DPMS VxD - GET API ENTRY POINT
  7393.     AX = 1684h
  7394.     BX = 0207h (virtual device ID for DPMS device) (see #2290)
  7395.     ES:DI = 0000h:0000h
  7396. Return: ES:DI -> VxD API entry point
  7397.           0000h:0000h if the VxD does not support API in current mode
  7398. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7399. --------W-2F1684BX0234-----------------------
  7400. INT 2F - MS Windows - VCOMMUTE - GET API ENTRY POINT
  7401.     AX = 1684h
  7402.     BX = 0234h (virtual device ID for VCOMMUTE device) (see #2290)
  7403.     ES:DI = 0000h:0000h
  7404. Return: ES:DI -> VxD API entry point
  7405.           0000h:0000h if the VxD does not support API in current mode
  7406. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7407. --------W-2F1684BX0442-----------------------
  7408. INT 2F P - MS Windows - VTDAPI - GET API ENTRY POINT
  7409.     AX = 1684h
  7410.     BX = 0442h (virtual device ID for VTDAPI device) (see #2290)
  7411.     ES:DI = 0000h:0000h
  7412. Return: ES:DI -> VxD API entry point (see #2330)
  7413.           0000h:0000h if the VxD does not support API in current mode
  7414. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7415.  
  7416. (Table 2330)
  7417. Call VTDAPI.VXD entry point with:
  7418.     EAX = function number
  7419.         0000h
  7420.         0001h
  7421.         0002h
  7422.         0003h
  7423.         0004h
  7424.         0005h
  7425.         0006h
  7426.         0007h
  7427.         0008h
  7428.         0009h
  7429.         000Ah
  7430.         000Bh
  7431.         else
  7432.         Return: nothing???
  7433. SeeAlso: #2330
  7434. --------W-2F1684BX0444-----------------------
  7435. INT 2F - MS Windows - VADMAD - GET API ENTRY POINT
  7436.     AX = 1684h
  7437.     BX = 0444h (virtual device ID for VADMAD device) (see #2290)
  7438.     ES:DI = 0000h:0000h
  7439. Return: ES:DI -> VxD API entry point (see #2331)
  7440.           0000h:0000h if the VxD does not support an API
  7441.  
  7442. (Table 2331)
  7443. Call VADMAD entry point with:
  7444.     DX = operation
  7445.         0000h set VADMAD mode
  7446.         AX = desired mode
  7447.         0001h set VADMAD channel
  7448.         AX = desired channel
  7449. Note:    after setting mode/channel, start the DMA operation with an OUT to
  7450.       I/O port 0Bh (channels 0-3) or D6h (channels 4-7)
  7451. SeeAlso: #0932 at INT 20"Windows"
  7452. --------W-2F1684BX0445-----------------------
  7453. INT 2F - MS Windows - VSBD - GET API ENTRY POINT
  7454.     AX = 1684h
  7455.     BX = 0445h (virtual device ID for VSBD device) (see #2290)
  7456.     ES:DI = 0000h:0000h
  7457. Return: ES:DI -> VxD API entry point
  7458.           0000h:0000h if the VxD does not support API in current mode
  7459. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7460. --------W-2F1684BX0446-----------------------
  7461. INT 2F - MS Windows - VADLIBD - GET API ENTRY POINT
  7462.     AX = 1684h
  7463.     BX = 0446h (virtual device ID for VADLIBD device) (see #2290)
  7464.     ES:DI = 0000h:0000h
  7465. Return: ES:DI -> VxD API entry point
  7466.           0000h:0000h if the VxD does not support API in current mode
  7467. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7468. --------W-2F1684BX0449-----------------------
  7469. INT 2F P - MS Windows - vjoyd - GET API ENTRY POINT
  7470.     AX = 1684h
  7471.     BX = 0449h (virtual device ID for "vjoyd" device) (see #2290)
  7472.     ES:DI = 0000h:0000h
  7473. Return: ES:DI -> VxD API entry point (see #2332)
  7474.           0000h:0000h if the VxD does not support API in current mode
  7475. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7476.  
  7477. (Table 2332)
  7478. Call VJOYD.VXD entry point with:
  7479.     AX = function number
  7480.         0000h get VJOYD version
  7481.         Return: AH = major version
  7482.             AL = minor version
  7483.         0001h ???
  7484.         DX = ???
  7485.         Return: DX:AX = ???
  7486.         0002h ???
  7487.         DX = ???
  7488.         Return: DX:AX = ???
  7489.         0003h ???
  7490.         Retrun: AX = 0001h
  7491.         0004h ???
  7492.         DX = ???
  7493.         Return: DX:AX = ???
  7494.         0005h ???
  7495.         Return: ???
  7496.         else
  7497.         Return: EAX = 00000000h
  7498. SeeAlso: #2330,#2333
  7499. --------W-2F1684BX044A-----------------------
  7500. INT 2F - MS Windows - mmdevldr - GET API ENTRY POINT
  7501.     AX = 1684h
  7502.     BX = 044Ah (virtual device ID for "mmdevldr" device) (see #2290)
  7503.     ES:DI = 0000h:0000h
  7504. Return: ES:DI -> VxD API entry point (see #2333)
  7505.           0000h:0000h if the VxD does not support API in current mode
  7506. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7507.  
  7508. (Table 2333)
  7509. Call MMDEVLDR.VXD entry point with:
  7510.     DX = function number
  7511.         0000h ???
  7512.         Return: CF clear if successful
  7513.                 AX = 0000h
  7514.             CF set on error
  7515.                 AX = error code (000Bh)
  7516.         Note:    invokes VxDCall 17000Eh ("CallAtAppyTime")
  7517.         0001h ???
  7518.         Return: CF clear if successful
  7519.                 AX = 0000h
  7520.             CF set on error
  7521.                 AX = error code (000Bh)
  7522.         Note:    invokes VxDCall 17000Eh ("CallAtAppyTime")
  7523.         0002h ???
  7524.         EDX = ???
  7525.         Return: CF clear if successful
  7526.                 AX = 0000h
  7527.                 EDX = ???
  7528.             CF set on error
  7529.                 AX = error code
  7530.         0003h ???
  7531.         Return: CF clear if successful
  7532.                 AX = 0000h
  7533.             CF set on error
  7534.                 AX = error code
  7535.         Note:    invokes VxDcall 2A0002h ("VWIN32_QueueUserApc")
  7536.         0004h set Win32 event
  7537.         Return: CF clear if successful
  7538.                 AX = 0000h
  7539.             CF set on error
  7540.                 AX = error code
  7541.         Note:    invokes VxDcall 2A000Eh ("VWIN32_SetWin32Event")
  7542.         0005h ??? (allocates some memory)
  7543.         Return: CF clear
  7544.             AX = 0000h
  7545.         0006h ??? (frees memory)
  7546.         Return: CF clear if successful
  7547.                 AX = 0000h
  7548.             CF set on error
  7549.                 AX = error code
  7550.         else
  7551.         Return: CF set
  7552.             AX = 000Bh (invalid function)
  7553. SeeAlso: #2332,#2334
  7554. --------W-2F1684BX045D-----------------------
  7555. INT 2F P - MS Windows - VflatD - GET API ENTRY POINT
  7556.     AX = 1684h
  7557.     BX = 045Dh (virtual device ID for VflatD device) (see #2290)
  7558.     ES:DI = 0000h:0000h
  7559. Return: ES:DI -> VxD API entry point
  7560.           0000h:0000h if the VxD does not support API in current mode
  7561. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7562. --------W-2F1684BX045F-----------------------
  7563. INT 2F - MS Windows - azt16 - GET API ENTRY POINT
  7564.     AX = 1684h
  7565.     BX = 045Fh (virtual device ID for "azt16" device) (see #2290)
  7566.     ES:DI = 0000h:0000h
  7567. Return: ES:DI -> VxD API entry point (see #2334)
  7568.           0000h:0000h if the VxD does not support API in current mode
  7569. SeeAlso: AX=1684h/BX=3110h,AX=1684h"DEVICE API",INT 20"Windows"
  7570.  
  7571. (Table 2334)
  7572. Call azt16.VXD entry point with:
  7573.     DX = function number
  7574.         0000h get azt16 version
  7575.         Return: CF clear
  7576.             AX = version (AH=major, AL=minor)
  7577.         0001h ???
  7578.         AX = subfunction
  7579.             0000h ???
  7580.             Return:
  7581.             0001h ???
  7582.             ECX = ???
  7583.             else error
  7584.         Return: CF clear if successful
  7585.                 ???
  7586.             CF set on error
  7587.                 AX = error code
  7588.         0002h ???
  7589.         AX = ???
  7590.         BX = ???
  7591.         Return: ???
  7592.         0003h ???
  7593.         AX = ???
  7594.         BX = ???
  7595.         Return: ???
  7596.         0004h ???
  7597.         BX = ???
  7598.         CX = ???
  7599.         Return: CF clear if successful
  7600.                  AX = 0001h
  7601.             CF set on error
  7602.                  AX = 0000h
  7603.         0005h ???
  7604.         BX = ???
  7605.         CX = ???
  7606.         Return: CF clear if successful
  7607.                  AX = 0001h
  7608.             CF set on error
  7609.                  AX = 0000h
  7610.         0006h ???
  7611.         BX = ???
  7612.         ECX = ???
  7613.         Return: CF clear if succesful
  7614.                 AX = ???
  7615.             CF set on error
  7616.                 AX = FFFFh
  7617.         0100h get azt16 version
  7618.         Return: CF clear
  7619.             AX = version (AH=major, AL=minor)
  7620.         0101h
  7621.         AX = ???
  7622.         ECX = ???
  7623.         Return: CF clear if successful
  7624.                 AX = 0001h
  7625.             CF set on error
  7626.                 AX = 0000h
  7627.         0102h ???
  7628.         AX = ???
  7629.         Return: CF clear if successful
  7630.             CF set on error
  7631.                 AX = reason??? (0/1/2)
  7632.         0103h ???
  7633.         AX = ???
  7634.         Return: CF clear if successful
  7635.                 AX = 0000h
  7636.             CF set on error
  7637.                 AX = reason??? (1/3)
  7638.         0200h ???
  7639.         EDX = ???
  7640.         ???
  7641.         Return: CF clear if successful
  7642.                 DX:AX = ???
  7643.             CF set on error
  7644.                 DX:AX = 0000h:0000h
  7645.         0201h ???
  7646.         ???
  7647.         Return: CF clear
  7648.             AX= 0000h
  7649.         else
  7650.         Return: CF set
  7651. SeeAlso: #2333,#2353
  7652. --------W-2F1684BX0460-----------------------
  7653. INT 2F P - MS Windows - UNIMODEM - GET API ENTRY POINT
  7654.     AX = 1684h
  7655.     BX = 0460h (virtual device ID for UNIMODEM device) (see #2290)
  7656.     ES:DI = 0000h:0000h
  7657. Return: ES:DI -> VxD API entry point (see #2335)
  7658.           0000h:0000h if the VxD does not support API in current mode
  7659. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7660.  
  7661. (Table 2335)
  7662. Call UNIMODEM.VXD protected-mode entry point with:
  7663.     AX = function number
  7664.         0000h
  7665.         Return: AX = ???
  7666.         0001h
  7667.         Return: AX = ???
  7668.         0002h
  7669.         Return: AX = ???
  7670.         0003h
  7671.         Return: AX = ???
  7672.         0004h
  7673.         Return: AX = ???
  7674.         0005h
  7675.         Return: AX = ???
  7676.         0006h
  7677.         Return: AX = ???
  7678.         0007h
  7679.         Return: AX = ???
  7680.         else
  7681.         Return: AX = 0002h
  7682. SeeAlso: #2334,#2336
  7683. --------W-2F1684BX0480-----------------------
  7684. INT 2F - MS Windows - VNetSup - GET API ENTRY POINT
  7685.     AX = 1684h
  7686.     BX = 0480h (virtual device ID for VNetSup device) (see #2290)
  7687.     ES:DI = 0000h:0000h
  7688. Return: ES:DI -> VxD API entry point (see #2336)
  7689.           0000h:0000h if the VxD does not support API in current mode
  7690. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7691.  
  7692. (Table 2336)
  7693. Call VNetSup.VXD entry point with:
  7694.     AX = function number
  7695.         0000h
  7696.         Return: AX = ???
  7697.         0001h
  7698.         Return: AX = ???
  7699.         0002h
  7700.         Return: AX = ???
  7701.         else
  7702.         Return: CF set
  7703.             AX = 0001h
  7704. SeeAlso: #2335,#2337
  7705. --------W-2F1684BX0482-----------------------
  7706. INT 2F - MS Windows - VBrowse - GET API ENTRY POINT
  7707.     AX = 1684h
  7708.     BX = 0482h (virtual device ID for VBrowse device) (see #2290)
  7709.     ES:DI = 0000h:0000h
  7710. Return: ES:DI -> VxD API entry point
  7711.           0000h:0000h if the VxD does not support API in current mode
  7712. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7713. --------W-2F1684BX0483-----------------------
  7714. INT 2F - MS Windows - VSHARE - GET API ENTRY POINT
  7715.     AX = 1684h
  7716.     BX = 0483h (virtual device ID for VSHARE device) (see #2290)
  7717.     ES:DI = 0000h:0000h
  7718. Return: ES:DI -> VxD API entry point (see #2337)
  7719.           0000h:0000h if the VxD does not support API in current mode
  7720. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7721.  
  7722. (Table 2337)
  7723. Call Windows95 VSHARE.VXD entry point with:
  7724.     AX = function number
  7725.         0000h get VSHARE version
  7726.         Return: AH = major version
  7727.             AL = (BCD?) minor version
  7728.         else
  7729.         NOP
  7730. SeeAlso: #2336
  7731. --------W-2F1684BX0484-----------------------
  7732. INT 2F P - MS Windows - IFSMgr - GET API ENTRY POINT
  7733.     AX = 1684h
  7734.     BX = 0484h (virtual device ID for IFSMgr device) (see #2290)
  7735.     ES:DI = 0000h:0000h
  7736. Return: ES:DI -> VxD API entry point
  7737.           0000h:0000h if the VxD does not support API in current mode
  7738. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7739. --------W-2F1684BX0486-----------------------
  7740. INT 2F - MS Windows - VFAT - GET API ENTRY POINT
  7741.     AX = 1684h
  7742.     BX = 0486h (virtual device ID for VFAT device) (see #2290)
  7743.     ES:DI = 0000h:0000h
  7744. Return: ES:DI -> VxD API entry point
  7745.           0000h:0000h if the VxD does not support API in current mode
  7746. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7747. --------W-2F1684BX0487-----------------------
  7748. INT 2F - MS Windows - NWLINK - GET API ENTRY POINT
  7749.     AX = 1684h
  7750.     BX = 0487h (virtual device ID for NWLINK device) (see #2290)
  7751.     ES:DI = 0000h:0000h
  7752. Return: ES:DI -> VxD API entry point
  7753.           0000h:0000h if the VxD does not support API in current mode
  7754. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7755. --------W-2F1684BX0489-----------------------
  7756. INT 2F R - MS Windows - VIP - GET API ENTRY POINT
  7757.     AX = 1684h
  7758.     BX = 0489h (virtual device ID for VIP device) (see #2290)
  7759.     ES:DI = 0000h:0000h
  7760. Return: ES:DI -> VxD API entry point
  7761.           0000h:0000h if the VxD does not support API in current mode
  7762. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7763. --------W-2F1684BX048A-----------------------
  7764. INT 2F - MS Windows 3.11 - VXDLDR - GET API ENTRY POINT
  7765.     AX = 1684h
  7766.     BX = 048Ah (virtual device ID for VTCP device) (see #2290)
  7767.     ES:DI = 0000h:0000h
  7768. Return: ES:DI -> VxD API entry point
  7769.           0000h:0000h if the VxD does not support API in current mode
  7770. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7771. --------W-2F1684BX048A-----------------------
  7772. INT 2F - MS Windows - VCACHE - GET API ENTRY POINT
  7773.     AX = 1684h
  7774.     BX = 048Ah (virtual device ID for VCACHE device) (see #2290)
  7775.     ES:DI = 0000h:0000h
  7776. Return: ES:DI -> VxD API entry point (see #2339)
  7777.           0000h:0000h if the VxD does not support API in current mode
  7778. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7779.  
  7780. (Table 2338)
  7781. Call Windows95 VCACHE.VXD entry point with:
  7782.     Return:    CF set
  7783. SeeAlso: #2337,#2339
  7784. --------W-2F1684BX048D-----------------------
  7785. INT 2F - MS Windows - RASMAC - GET API ENTRY POINT
  7786.     AX = 1684h
  7787.     BX = 048Dh (virtual device ID for RASMAC device) (see #2290)
  7788.     ES:DI = 0000h:0000h
  7789. Return: ES:DI -> VxD API entry point
  7790.           0000h:0000h if the VxD does not support API in current mode
  7791. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7792. --------W-2F1684BX048E-----------------------
  7793. INT 2F - MS Windows - NWREDIR - GET API ENTRY POINT
  7794.     AX = 1684h
  7795.     BX = 048Eh (virtual device ID for NWREDIR device) (see #2290)
  7796.     ES:DI = 0000h:0000h
  7797. Return: ES:DI -> VxD API entry point (see #2339)
  7798.           0000h:0000h if the VxD does not support API in current mode
  7799. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7800.  
  7801. (Table 2339)
  7802. Call Windows95 NWREDIR.VXD entry point with:
  7803.     Return:    CF set
  7804.         EAX = FFFFFFFFh
  7805. SeeAlso: #2338
  7806. --------W-2F1684BX0494-----------------------
  7807. INT 2F - MS Windows - NSCL - GET API ENTRY POINT
  7808.     AX = 1684h
  7809.     BX = 0494h (virtual device ID for NSCL device) (see #2290)
  7810.     ES:DI = 0000h:0000h
  7811. Return: ES:DI -> VxD API entry point (see #2340,#2341)
  7812.           0000h:0000h if the VxD does not support API in current mode
  7813. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7814.  
  7815. (Table 2340)
  7816. Call Windows95 NSCL.VXD virtual-86 entry point with:
  7817.     AL = function number
  7818.         00h
  7819.         01h
  7820.         02h
  7821.         03h
  7822.         04h
  7823.         05h
  7824.         06h
  7825.         07h
  7826.         08h
  7827.         09h
  7828.         0Ah
  7829.         else
  7830.         Return: AX = FFFFh
  7831. SeeAlso: #2339,#2340
  7832.  
  7833. (Table 2341)
  7834. Call Windows95 NSCL.VXD protected-mode entry point with:
  7835.     AL = function number
  7836.         00h
  7837.         01h
  7838.         02h
  7839.         03h
  7840.         else
  7841.         Return: AX = FFFFh
  7842. SeeAlso: #2340
  7843. --------W-2F1684BX0499-----------------------
  7844. INT 2F - MS Windows - PPPMAC - GET API ENTRY POINT
  7845.     AX = 1684h
  7846.     BX = 0499h (virtual device ID for PPPMAC device) (see #2290)
  7847.     ES:DI = 0000h:0000h
  7848. Return: ES:DI -> VxD API entry point
  7849.           0000h:0000h if the VxD does not support API in current mode
  7850. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7851. --------W-2F1684BX049A-----------------------
  7852. INT 2F - MS Windows - VDHCP - GET API ENTRY POINT
  7853.     AX = 1684h
  7854.     BX = 049Ah (virtual device ID for VDHCP device) (see #2290)
  7855.     ES:DI = 0000h:0000h
  7856. Return: ES:DI -> VxD API entry point
  7857.           0000h:0000h if the VxD does not support API in current mode
  7858. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7859. --------W-2F1684BX049B-----------------------
  7860. INT 2F - MS Windows - VNBT - GET API ENTRY POINT
  7861.     AX = 1684h
  7862.     BX = 049Bh (virtual device ID for VNBT device) (see #2290)
  7863.     ES:DI = 0000h:0000h
  7864. Return: ES:DI -> VxD API entry point
  7865.           0000h:0000h if the VxD does not support API in current mode
  7866. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7867. --------W-2F1684BX1021-----------------------
  7868. INT 2F - MS Windows - VMB - GET API ENTRY POINT
  7869.     AX = 1684h
  7870.     BX = 1021h (virtual device ID for VMB device) (see #2290)
  7871.     ES:DI = 0000h:0000h
  7872. Return: ES:DI -> VxD API entry point
  7873.           0000h:0000h if the VxD does not support API in current mode
  7874. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  7875. --------W-2F1684BX28A0-----------------------
  7876. INT 2F - MS Windows - PHARLAPX - GET API ENTRY POINT
  7877.     AX = 1684h
  7878.     BX = 28A0h (virtual device ID for PHARLAPX device) (see #2290)
  7879.     ES:DI = 0000h:0000h
  7880. Return: ES:DI -> VxD API entry point (see #2342)
  7881.           0000h:0000h if the VxD does not support an API
  7882.  
  7883. (Table 2342)
  7884. Call PHARLAPX VxD entry point with:
  7885.     AX = function
  7886.         0001h get PHARLAP.386 version
  7887.         Return: AX = version number (AH = major, AL = minor)
  7888.     ---queue functions---
  7889.         0101h allocate a new message queue
  7890.         CX = size of queue data buffer in bytes
  7891.         Return: DX:AX = handle for new queue, or 0000h:0000h on error
  7892.         0102h allocate a new key queue
  7893.         CX = size of queue data buffer in bytes
  7894.         EDX = VM handle into which keys will be pasted
  7895.         Return: DX:AX = handle for new queue, or 0000h:0000h on error
  7896.         0103h free message queue
  7897.         EDX = queue handle
  7898.         Return: AX = status (0000h,0003h,0007h) (see #2343)
  7899.         0104h free key queue
  7900.         EDX = queue handle
  7901.         Return: AX = status (0000h,0003h,0005h) (see #2343)
  7902.         0105h add message to communications queue
  7903.         EDX = queue handle
  7904.         BX = length of message data in bytes
  7905.         CX = length of message header in bytes
  7906.         ES:(E)SI -> message header
  7907.         GS:(E)DI -> message data
  7908.         Return: AX = status (0000h-0003h,0007h) (see #2343)
  7909.         0106h remove message from queue
  7910.         EDX = queue handle
  7911.         CX = length of buffer in bytes
  7912.         ES:(E)SI -> buffer for message
  7913.         Return: AX = status (0000h,0003h,0006h,0007h,0008h) (see #2343)
  7914.             CX = length of returned message (if AX=0000h or 0008h)
  7915.         0107h flush queue (remove all data)
  7916.         EDX = queue handle
  7917.         Return: AX = status (0000h,0003h) (see #2343)
  7918.         0108h add PasteKey structure(s) to key queue
  7919.         EDX = queue handle
  7920.         CX = number of PasteKey structures in buffer
  7921.         ES:(E)SI -> PasteKey array (see #2344)
  7922.         Return: AX = status (0000h-0003h) (see #2343)
  7923.         0109h register enqueueing callback function
  7924.         EDX = queue handle
  7925.         ECX = function argument
  7926.         ES:(E)SI -> callback function
  7927.         Return: AX = status (0000h,0003h,0009h) (see #2343)
  7928.         010Ah register dequeueing callback function
  7929.         EDX = queue handle
  7930.         ECX = function argument
  7931.         ES:(E)SI -> callback function
  7932.         Return: AX = status (0000h,0003h,0009h) (see #2343)
  7933.         010Bh unregister enqueueing callback function
  7934.         EDX = queue handle
  7935.         Return: AX = status (0000h,0003h,0009h) (see #2343)
  7936.         010Ch unregister dequeueing callback function
  7937.         EDX = queue handle
  7938.         Return: AX = status (0000h,0003h,0009h) (see #2343)
  7939.         010Dh get message queue status
  7940.         EDX = queue handle
  7941.         Return: AX = status (0000h,0003h) (see #2343)
  7942.             CX = number of pending messages
  7943.         010Eh peek at message in queue
  7944.         EDX = queue handle
  7945.         BX = number of message in queue (0000h = first)
  7946.         CX = size of buffer in bytes
  7947.         ES:(E)SI -> buffer for message
  7948.         Return: AX = status (0000h,0003h,0006h,0008h) (see #2343)
  7949.             CX = length of returned message (if AX=0000h or 0008h)
  7950.         010Fh peek at last message in queue
  7951.         EDX = queue handle
  7952.         CX = size of buffer in bytes
  7953.         ES:(E)SI -> buffer for message
  7954.         Return: AX = status (0000h,0003h,0006h,0008h) (see #2343)
  7955.             CX = length of returned message (if AX=0000h or 0008h)
  7956.         0110h replace last message in queue
  7957.         EDX = queue handle
  7958.         CX = length of message header in bytes
  7959.         BX = length of message data in bytes
  7960.         ES:(E)SI -> message header
  7961.         GS:(E)DI -> message data
  7962.         Return: AX = status (0000h,0002h,0003h) (see #2343)
  7963.         0111h set permitted message count for queue
  7964.         EDX = queue handle
  7965.         CX = maximum number of messages to enqueue (FFFFh = unlimited)
  7966.         Return: AX = status (0000h,0003h) (see #2343)
  7967.     ---generalized VxD services---
  7968.         0202h call VxD function
  7969.         ES:(E)BX -> in/out register-set buffer
  7970.         Return: buffer updated
  7971.         0203h map flat
  7972.         ???
  7973.     --system register functions---
  7974.         0301h read system registers into buffer
  7975.         ES:(E)SI -> 512-byte buffer
  7976.         Return: AX = 0000h
  7977.             buffer filled (mostly zeros)
  7978.         0302h copy linear memory into buffer
  7979.         EDX = linear address
  7980.         CX = number of bytes to copy
  7981.         ES:(E)SI -> buffer
  7982.         Return: AX = 0000h
  7983.         0303h copy data into linear memory
  7984.         EDX = linear address
  7985.         CX = number of bytes to copy
  7986.         ES:(E)SI -> buffer
  7987.         Return: AX = 0000h
  7988.         0304h freeze VM
  7989.         ???
  7990.         0305h unfreeze VM
  7991.         ???
  7992.     ---name registration functions---
  7993.         0401h register name
  7994.         EDX = magic number to associate with name
  7995.         ES:(E)SI -> name to register
  7996.         Return: AX = status (0000h,0009h) (see #2343)
  7997.         0402h unregister name
  7998.         ES:(E)SI -> name to be unregistered
  7999.         Return: AX = status (0000h,0009h) (see #2343)
  8000.         0403h look up name
  8001.         ES:(E)SI -> name to look up
  8002.         Return: DX:AX = magic number or 0000h:0000h if not registered
  8003.         0404h get name list handle
  8004.         Return: DX:AX = name list handle
  8005.                 0000h:0000h if not initialized
  8006.     ---special DOS server routines (undocumented)---
  8007.         0501h register
  8008.         0502h unregister
  8009.         0503h validate VM
  8010.         0504h get INT9 count
  8011.         0505h get screen line
  8012.         0506h get shift status
  8013.         0507h get server PB pointer
  8014.         0508h initialize DOS shell
  8015.         0509h get last VM handle
  8016.  
  8017. (Table 2343)
  8018. Values for PHARLAPX function status:
  8019.  00h    successful
  8020.  01h    data is too large to fit in queue
  8021.  02h    queue is full
  8022.  03h    invalid queue handle
  8023.  04h    invalid VM handle for queue
  8024.  05h    error starting a paste operation
  8025.  06h    queue is empty
  8026.  07h    a VM is blocked waiting on the queue
  8027.  08h    message was too long (truncated)
  8028.  09h    unable to register or unregister specified callback
  8029. SeeAlso: #2342
  8030.  
  8031. Format of PHARLAPX PasteKey structure:
  8032. Offset    Size    Description    (Table 2344)
  8033.  00h    BYTE    ASCII code
  8034.  01h    BYTE    scan code (see #0005)
  8035.  02h    WORD    shift states
  8036. SeeAlso: #2342
  8037.  
  8038. Format of PHARLAPX VxD-call register structure:
  8039. Offset    Size    Description    (Table 2345)
  8040.  00h    DWORD    call number
  8041.  04h    WORD    input register map (see #2346)
  8042.  06h    WORD    output register map (see #2346)
  8043.  08h  7 DWORDs    values for EAX, EBX, ECX, EDX, EBP, ESI, EDI on call
  8044.  24h  4    WORDs    values for DS, ES, FG, GS on call
  8045.  2Ch    DWORD    EFLAGS on call
  8046.  30h  7 DWORDs    returned values of EAX, EBX, ECX, EDX, EBP, ESI, EDI
  8047.  4Ch  4 WORDs    returned values of DS, ES, FS, GS
  8048.  54h    DWORD    returned EFLAGS
  8049. SeeAlso: #2342
  8050.  
  8051. Bitfields for PHARLAPX VxD-call register map:
  8052. Bit(s)    Description    (Table 2346)
  8053.  0    value in EAX field is valid
  8054.  1    value in EBX field is valid
  8055.  2    value in ECX field is valid
  8056.  3    value in EDX field is valid
  8057.  4    value in EBP field is valid
  8058.  5    value in ESI field is valid
  8059.  6    value in EDI field is valid
  8060.  7    value in DS field is valid
  8061.  8    value in ES field is valid
  8062.  9    value in FS field is valid
  8063.  10    value in GS field is valid
  8064.  11    value in EFLAGS field is valid
  8065. SeeAlso: #2345
  8066. --------W-2F1684BX28A1-----------------------
  8067. INT 2F - MS Windows - PharLap VxD - GET API ENTRY POINT
  8068.     AX = 1684h
  8069.     BX = 28A1h (virtual device ID for PharLap device) (see #2290)
  8070.     ES:DI = 0000h:0000h
  8071. Return: ES:DI -> VxD API entry point
  8072.           0000h:0000h if the VxD does not support API in current mode
  8073. SeeAlso: AX=1684h"DEVICE API",AX=1684h/BX=28A0h,INT 20"Windows"
  8074. --------W-2F1684BX2925-----------------------
  8075. INT 2F - MS Windows - EDOS - GET API ENTRY POINT
  8076.     AX = 1684h
  8077.     BX = 2925h (virtual device ID for EDOS device) (see #2290)
  8078.     ES:DI = 0000h:0000h
  8079. Return: ES:DI -> VxD API entry point (see #2347)
  8080.           0000h:0000h if the VxD does not support an API
  8081.  
  8082. (Table 2347)
  8083. Call EDOS entry point with:
  8084.     AX = 0000h get EDOS version number
  8085.         Return: AH = major version
  8086.             AL = minor version
  8087.     AX = 0001h display message
  8088.         CX = 0
  8089.         DX:BX -> ASCIZ Message
  8090.     AX = 0002h get EDOS error coded
  8091.         Return: EAX = time in milliseconds that Windows has been running
  8092.     AX = 0003h execute windows program
  8093.         Return: EAX = cumulative amount of time the virtual machine has
  8094.             been active, in milliseconds
  8095.     AX = 0008h get/set priority
  8096.         BX = 0000h??? foreground
  8097.          0001h background
  8098.         DI = 0000h get
  8099.          0001h set
  8100.         DX = priority setting
  8101.         Return: CX = foreground priority
  8102.             DX = background priority
  8103.             BX:AX = flags
  8104.             00000001h exclusive ON
  8105.             00000010h background ON
  8106.             SI = CPU percentage
  8107. --------W-2F1684BX292D-----------------------
  8108. INT 2F - MS Windows - VSBPD - GET API ENTRY POINT
  8109.     AX = 1684h
  8110.     BX = 292Dh (virtual device ID for VSBPD device) (see #2290)
  8111.     ES:DI = 0000h:0000h
  8112. Return: ES:DI -> VxD API entry point
  8113.           0000h:0000h if the VxD does not support API in current mode
  8114. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8115. --------W-2F1684BX295A-----------------------
  8116. INT 2F - MS Windows - GRVSULTR - GET API ENTRY POINT
  8117.     AX = 1684h
  8118.     BX = 295Ah (virtual device ID for GRVSULTR device) (see #2290)
  8119.     ES:DI = 0000h:0000h
  8120. Return: ES:DI -> VxD API entry point
  8121.           0000h:0000h if the VxD does not support API in current mode
  8122. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8123. --------x-2F1684BX304C-----------------------
  8124. INT 2F - Intel Plug-and-Play - CONFIGURATION ACCESS - GET ENTRY POINT
  8125.     AX = 1684h
  8126.     BX = 304Ch (ID for Configuration Access) (see #2290)
  8127.     ES:DI = 0000h:0000h
  8128. Return: ES:DI -> API entry point (see #2348)
  8129.           0000h:0000h if Configuration Access not loaded
  8130. Note:    this API is often provided by a DOS device driver, in which case it
  8131.       is available whether or not MSWindows is running
  8132. Index:    installation check;Plug-and-Play Configuration Access
  8133. SeeAlso: AX=1684h/BX=0034h
  8134.  
  8135. (Table 2348)
  8136. Call Plug-and-Play Configuration Access entry point with:
  8137.     AX = function
  8138.         0000h "CA_GetVersion"
  8139.         Return: AX = BCD version (AH = major, AL = minor)
  8140.         0001h "CA_PCI_Read_Config_Byte" (see also INT 1A/AX=B108h)
  8141.     !!!
  8142.         0002h "CA_PCI_Read_Config_Word" (see also INT 1A/AX=B109h)
  8143.         0003h "CA_PCI_Read_Config_DWord" (see also INT 1A/AX=B10Ah)
  8144.         0004h "CA_PCI_Write_Config_Byte" (see also INT 1A/AX=B10Bh)
  8145.         0005h "CA_PCI_Write_Config_Word" (see also INT 1A/AX=B10Ch)
  8146.         0006h "CA_PCI_Write_Config_DWord" (see also INT 1A/AX=B10Dh)
  8147.         0007h "CA_PCI_Generate_Special_Cycle" (see also INT 1A/AX=B106h)
  8148.         0008h "CA_PCI_Get_Routing_Options" (see also INT 1A/AX=B10Eh)
  8149.         0009h invalid function
  8150.         000Ah invalid function
  8151.         000Bh "CA_PnPISA_Get_Info"
  8152.         000Ch "CA_PnPISA_Read_Config_Byte"
  8153.         000Dh "CA_PnPISA_Write_Config_Byte"
  8154.         000Eh "CA_PnPISA_Get_Resource_Data"
  8155.         000Fh invalid function
  8156.         0010h "CA_EISA_Get_Board_ID"
  8157.         0011h "CA_EISA_Get_Slot_Config"
  8158.         0012h "CA_EISA_Get_SlotFunc_Config"
  8159.         0013h "CA_EISA_Clear_NVRAM_Config"
  8160.         0014h "CA_EISA_Write_Config"
  8161.         0015h invalid function
  8162.         0016h "CA_ESCD_Get_Info"
  8163.         0017h "CA_ESCD_Read_Config"
  8164.         0018h "CA_ESCD_Write_Config"
  8165.         0019h invalid function
  8166.         001Ah "CA_Acfg_PCI_Manage_IRQs"
  8167.         DL = IRQ???
  8168.         ES:DI -> ???
  8169.         Return: AX = status
  8170.         001Bh "CA_Acfg_PCI_Get_Routing_Options"
  8171.         ES:DI -> IRQ routing table header
  8172.               (see #0924 at INT 1A/AX=B406h)
  8173.         Return: AX = status
  8174.         001Ch-001Fh invalid functions
  8175.         0020h "CA_PnPB_Get_Num_Sys_Dev_Nodes"
  8176.         0021h "CA_PnPB_Get_Sys_Dev_Node"
  8177.         0022h "CA_PnPB_Set_Sys_Dev_Node"
  8178.         0023h "CA_PnPB_Get_Stat_Res_Info"
  8179.         0024h "CA_PnPB_Set_Stat_Res_Info"
  8180. Return: AX = FFFFh if unsupported function
  8181. SeeAlso: #2349
  8182. --------W-2F1684BX3099-----------------------
  8183. INT 2F - MS Windows - VVidramD - GET API ENTRY POINT
  8184.     AX = 1684h
  8185.     BX = 3099h (virtual device ID for VVidramD device) (see #2290)
  8186.     ES:DI = 0000h:0000h
  8187. Return: ES:DI -> VxD API entry point (see #2349)
  8188.           0000h:0000h if the VxD does not support API in current mode
  8189. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8190.  
  8191. (Table 2349)
  8192. Call VVidramD (VIDRAM.VXD) virtual-86 entry point with:
  8193.     AX = function number
  8194.         0000h map page???
  8195.         BX = page number???
  8196.         Return: CF clear if successful
  8197.             CF set on error
  8198.         0001h ???
  8199.         Return: CF clear if successful
  8200.             CF set on error
  8201.         else
  8202.         Return: CF set
  8203. SeeAlso: #2348,#2350
  8204. --------W-2F1684BX30F6-----------------------
  8205. INT 2F P - MS Windows - WSVV - GET API ENTRY POINT
  8206.     AX = 1684h
  8207.     BX = 30F6h (virtual device ID for WSVV device) (see #2290)
  8208.     ES:DI = 0000h:0000h
  8209. Return: ES:DI -> VxD API entry point
  8210.           0000h:0000h if the VxD does not support API in current mode
  8211. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8212.  
  8213. (Table 2350)
  8214. Call WSVV.VXD protected-mode entry point with:
  8215.     AX = function number
  8216.         ????
  8217.     Return: ???
  8218. SeeAlso: #2349,#2351
  8219. --------W-2F1684BX310E-----------------------
  8220. INT 2F - MS Windows - WPS - GET API ENTRY POINT
  8221.     AX = 1684h
  8222.     BX = 310Eh (virtual device ID for WPS device) (see #2290)
  8223.     ES:DI = 0000h:0000h
  8224. Return: ES:DI -> VxD API entry point (see #2351)
  8225.           0000h:0000h if the VxD does not support an API
  8226. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8227.  
  8228. (Table 2351)
  8229. Call WPS protected-mode entry point with:
  8230.     DX = function
  8231.         0000h get WPS.386 version
  8232.         Return: CF clear
  8233.             AX = version (AH = major, AL = minor)
  8234.         0001h get number of installed VxDs
  8235.         Return: CF clear
  8236.             AX = number of installed VxDs
  8237.         0002h get VxD characteristics
  8238.         AX = number of VxD
  8239.         ES:BX -> buffer for VxD characteristics structure (see #2352)
  8240.         Return: CF clear
  8241.             ES:BX buffer filled
  8242. SeeAlso: #2350,#2354
  8243.  
  8244. Format of WPS.386 VxD characteristics structure:
  8245. Offset    Size    Description    (Table 2352)
  8246.  00h    WORD    VxD ID number
  8247.  02h    BYTE    VxD minor version
  8248.  03h    BYTE    VxD major version
  8249.  04h    BYTE    DDK minor version
  8250.  05h    BYTE    DDK major version
  8251.  06h    WORD    flags
  8252.         bit 0: V86 API supported
  8253.         bit 1: PM API supported
  8254.         bit 2: services supported
  8255.  08h    DWORD    start order
  8256.  0Ch  9 BYTEs    ASCIZ VxD name
  8257. SeeAlso: #2351
  8258. --------W-2F1684BX3110-----------------------
  8259. INT 2F - MS Windows - VSGLX16.386 - GET API ENTRY POINT
  8260.     AX = 1684h
  8261.     BX = 3110h (virtual device ID for VSGLX16.386) (see #2290)
  8262.     ES:DI = 0000h:0000h
  8263. Return: ES:DI -> VxD API entry point (see #2353)
  8264.           0000h:0000h if the VxD does not support an API
  8265. SeeAlso: AX=1684h/BX=045Fh,AX=1684h"DEVICE API",INT 20"Windows"
  8266.  
  8267. (Table 2353)
  8268. Call VSGLX16.386 entry point with:
  8269.     DX = function number
  8270.         0000h get azt16 version
  8271.         Return: CF clear
  8272.             AX = version returned by "azt16" device
  8273.         0001h get ???
  8274.         AX = ??? (always fails if nonzero)
  8275.         ES:BX -> buffer for ???
  8276.             first DWORD of buffer must be set to length of buffer
  8277.               (in bytes, 1 <= size <= 92) before calling
  8278.         Return: CF clear if successful
  8279.                 AX = 0001h
  8280.             CF set on error (invalid pointer, bad buffer size)
  8281.                 AX = 0000h
  8282.         0002h
  8283.         AX = ???
  8284.         BX = ???
  8285.         Return: CF clear if successful
  8286.                 AX = ???
  8287.             CF set on error
  8288.                 AX = error code
  8289.         0003h
  8290.         AX = ???
  8291.         BX = ???
  8292.         Return: CF clear if successful
  8293.             CF set on error
  8294.         0004h set ???
  8295.         ES:DI -> buffer containing ???
  8296.         BX = ???
  8297.         CX = number of bytes to copy
  8298.         Return: CF clear if successful
  8299.                 AX = 0001h
  8300.             CF set on error
  8301.                 AX = 0000h
  8302.         0005h get ???
  8303.         ES:DI -> buffer for ???
  8304.         BX = ???
  8305.         CX = number of bytes to copy
  8306.         Return: CF clear if successful
  8307.                 AX = 0001h
  8308.             CF set on error
  8309.                 AX = 0000h
  8310.         else
  8311.         Return: CF set
  8312. SeeAlso: #2334
  8313. --------W-2F1684BX31CF-----------------------
  8314. INT 2F - MS Windows - STAT.386 - GET API ENTRY POINT
  8315.     AX = 1684h
  8316.     BX = 31CFh (virtual device ID for STAT.386) (see #2290)
  8317.     ES:DI = 0000h:0000h
  8318. Return: ES:DI -> VxD API entry point (see #2354)
  8319.           0000h:0000h if the VxD does not support an API
  8320. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8321.  
  8322. (Table 2354)
  8323. Call STAT.386 entry point with:
  8324.     AX = function
  8325.         0000h get version
  8326.         Return: AX = STAT.386 version (AH = major, AL = minor)
  8327.         0001h execute RDMSR/WRMSR/RDTSC
  8328.         BH = 00h
  8329.         BL = second opcode byte (30h=WRMSR,31h=RDTSC,32h=RDMSR)
  8330.         EDX:EDI = value to be written (for BL=30h)
  8331.         ECX = MSR number for RDMSR/WRMSR
  8332.         Return: EDX:EAX = value read (RDTSR/RDMSR only)
  8333. SeeAlso: #2351,#2355
  8334. --------W-2F1684BX34DC-----------------------
  8335. INT 2F - QEMM v8.01 - MAGNARAM VxD - GET API ENTRY POINT
  8336.     AX = 1684h
  8337.     BX = 34DCh (virtual device ID for MAGNARAM) (see #2290)
  8338.     ES:DI = 0000h:0000h
  8339. Return: ES:DI -> VxD API entry point (see #2355)
  8340.           0000h:0000h if the VxD does not support an API
  8341. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8342.  
  8343. (Table 2355)
  8344. Call MAGNARAM MAGNA95.VXD protected-mode entry point with:
  8345.     AX = function number
  8346.         0000h get version and ???
  8347.         Return: AX = version (AH = major, AL = minor)
  8348.             CX = ???
  8349.                 bit 0: ???
  8350.                 bit 1: ???
  8351.         0001h get ???
  8352.         Return: CF clear
  8353.             DX:AX = ??? SHL 2
  8354.         0002h
  8355.         Return: CF clear if successful
  8356.                 AX = ???
  8357.                 DX = ???
  8358.             CF set on error
  8359.         0003h get ???
  8360.         Return: CF clear
  8361.             DX:AX = ??? SHL 2
  8362.         0004h ???
  8363.         Return: CF clear
  8364.             DX:AX = ???
  8365.         0005h ???
  8366.         Return: CF clear
  8367.             DX:AX = ???
  8368.         0006h ???
  8369.         Return: CF clear
  8370.             DX:AX = ???
  8371.         0007h ???
  8372.         Return: CF clear
  8373.             DX:AX = ???
  8374.         0008h ???
  8375.         Return: CF clear
  8376.             DX:AX = ???
  8377.         0009h ???
  8378.         Return: CF clear
  8379.             DX:AX = ???
  8380.         000Ah ???
  8381.         Return: CF clear
  8382.             DX:AX = ???
  8383.         000Bh get ???
  8384.         Return: CF clear
  8385.             DX:AX = ??? SHL 2
  8386.         000Ch get ???
  8387.         Return: CF clear
  8388.             DX:AX = ??? SHL 2
  8389.         000Dh get ???
  8390.         Return: CF clear
  8391.             DX:AX = ??? SHL 2
  8392.         000Eh get ???
  8393.         Return: CF clear
  8394.             AX = ???
  8395.             DX = ???
  8396.         000Fh get ???
  8397.         Return: CF clear
  8398.             DX:AX = ???
  8399.         0010h get ???
  8400.         Return: CF clear
  8401.             DX:AX = ???
  8402.         0011h get ???
  8403.         Return: CF clear
  8404.             DX:AX = ???
  8405.         0012h get ???
  8406.         Return: CF clear
  8407.             DX:AX = ???
  8408.         0013h get ???
  8409.         Return: CF clear
  8410.             DX:AX = ???
  8411.         0014h get ???
  8412.         Return: CF clear
  8413.             DX:AX = ???
  8414.         0015h get ???
  8415.         Return: CF clear
  8416.             DX:AX = ???
  8417.         else
  8418.         Return: CF set
  8419. SeeAlso: #2354,#2356
  8420. --------W-2F1684BX357E-----------------------
  8421. INT 2F - MS Windows - DSOUND - GET API ENTRY POINT
  8422.     AX = 1684h
  8423.     BX = 357Eh (virtual device ID for DSOUND device) (see #2290)
  8424.     ES:DI = 0000h:0000h
  8425. Return: ES:DI -> VxD API entry point
  8426.           0000h:0000h if the VxD does not support API in current mode
  8427. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8428. ----------2F1684BX377B-----------------------
  8429. INT 2F - MS Windows - MX1501HAD - GET API ENTRY POINT
  8430.     AX = 1684h
  8431.     BX = 377Bh (virtual device ID for MX1501HAD device)
  8432.     ES:DI = 0000h:0000h
  8433. Return: ES:DI -> VxD API entry point (see #2356)
  8434.           0000h:0000h if the VxD does not support an API
  8435. Note:    The drivers VCMD95C.VXD and VCMD.386 are part of the driver disks
  8436.       provided with the chip-card-reader/keyboard combination MX 1501 HAD,
  8437.       produced by Cherry
  8438. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8439.  
  8440. (Table 2356)
  8441. Call CHERRY VCMD95C.VXD entry point with:
  8442.     AX = function
  8443.         0001h get version
  8444.         Return: AX = version number (0100h) (AH = major, AL = minor)
  8445.         0002h hook INT 09 (and 8???)
  8446.         0003h unhook INT 09 (and 8???)
  8447.         0004h get number of bytes in FIFO
  8448.         Return: AX = bytes in FIFO
  8449.         0005h get next FIFO-data
  8450.         Return: AX = data
  8451.             BL = port number
  8452.             BH = direction (1=in, 0=out)
  8453.             DX:CX = timestamp
  8454.         0006h clear FIFO
  8455.         0007h output byte
  8456.         DX = port number
  8457.         BL = keyboard command
  8458.         Return: data in FIFO (see #2358)
  8459.                (value, port, in/out, timestamp)
  8460.         0008h input byte
  8461.         DX = port number
  8462.         Return: data in FIFO (see #2358)
  8463.             (value, port, in/out, timestamp)
  8464.         0009h input byte immediately
  8465.         DX = port number
  8466.         Return: AX = data
  8467.         000Ah read next FIFO data (nondestructive)
  8468.         Return: AX = data
  8469.             BL = port number
  8470.             BH = direction (1=in, 0=out)
  8471.             DX:CX = timestamp
  8472.         000Bh get timestamp
  8473.         Return: DX:CX = timestamp (in ms)
  8474.         000Ch enable IRQ 1
  8475.         000Dh disable IRQ 1
  8476.         000Eh enable data retrieval
  8477.         Note:    Sets a flag in the internal mode-byte which
  8478.               tells the driver to recognize the data
  8479.         000Fh disable data retrieval
  8480.         Note:    resets a flag in the internal mode-byte
  8481.         0010h get retrieval mode
  8482.         Return: AX = current retrieval mode
  8483.         0011h set retrieval mode
  8484.         BX = new retrieval mode (see #2357)
  8485.         Return: AX = old retrieval mode
  8486.         0012h get command value
  8487.         Return: AX = command value
  8488.         0013h set command value
  8489.         BX = command value
  8490. SeeAlso: #2354,#2359
  8491.  
  8492. Bitfields for retrieval mode:
  8493. Bit(s)    Description    (Table 2357)
  8494.  0    enable data retrieval
  8495.  1    0 = interrupt-driven
  8496.     1 = polling mode
  8497.  2    0 = read port 60h everytime
  8498.     1 = read port 60h only when OBF of port 64h is set
  8499.  3    0 = don't call old INT 9
  8500.     1 = call INT 9 before our INT-handler
  8501.  4-7    reserved
  8502. SeeAlso: #2356,#2358
  8503.  
  8504. Format of FIFO entry (1024 entries in FIFO):
  8505. Offset    Size    Description    (Table 2358)
  8506.  00h    BYTE    data byte
  8507.  01h    BYTE    I/O port
  8508.  02h    BYTE    direction (1=in, 0=out)
  8509.  03h    BYTE    reserved
  8510.  04h    DWORD    timestamp
  8511. SeeAlso: #2356,#2357
  8512. --------W-2F1684BX38DA-----------------------
  8513. INT 2F - MS Windows - VIWD - GET API ENTRY POINT
  8514.     AX = 1684h
  8515.     BX = 38DAh (virtual device ID for VIWD device) (see #2290)
  8516.     ES:DI = 0000h:0000h
  8517. Return: ES:DI -> VxD API entry point (see #2359)
  8518.           0000h:0000h if the VxD does not support API in current mode
  8519. SeeAlso: AX=1684h"DEVICE API",INT 20"Windows"
  8520.  
  8521. (Table 2359)
  8522. Call VIWD.VXD entry point with:
  8523.     DX = function number
  8524.         0000h ???
  8525.         Return: CF clear
  8526.             AX = ???
  8527.         0004h ???
  8528.         Return: CF clear
  8529.             DX = 0000h
  8530.         0006h
  8531.         Return: CF clear
  8532.         000Ah
  8533.         AX = ???
  8534.         Return: CF clear if successful
  8535.             CF set on error
  8536.         000Ch
  8537.         000Dh
  8538.         000Eh
  8539.         Return: CF clear
  8540.         000Fh
  8541.         Return: CF clear
  8542.         0010h
  8543.         0011h
  8544.         0015h
  8545.         Return: CF clear if successful
  8546.                 AX = ???
  8547.             CF set on error
  8548.                 AX = ???
  8549.             DX = 0000h
  8550.         0016h
  8551.         0017h
  8552.         Return: CF clear if successful
  8553.                 AX = ???
  8554.             CF set on error
  8555.                 AX = ???
  8556.             DX = 0000h
  8557.         0018h ???
  8558.         CX = ???
  8559.         Return: CF clear if successful
  8560.                 AX = 0000h
  8561.             CF set on error
  8562.         else
  8563.         Return: CF set
  8564. SeeAlso: #2356,#2360
  8565. --------W-2F1684BX4321-----------------------
  8566. INT 2F - MS Windows - POSTMSG - GET API ENTRY POINT
  8567.     AX = 1684h
  8568.     BX = 4321h (virtual device ID for POSTMSG device) (see #2290)
  8569.     ES:DI = 0000h:0000h
  8570. Return: ES:DI -> VxD API entry point (see #2360,#2362)
  8571.           0000h:0000h if the VxD does not support an API
  8572.  
  8573. (Table 2360)
  8574. Call POSTMSG protected-mode entry point with:
  8575.     AX = window handle
  8576.     CX:BX -> callback procedure (see #2361)
  8577. Return: nothing
  8578. Note:    this call registers a WinApp with the VxD; the callback must be in a
  8579.       fixed, non-discardable code segment
  8580. SeeAlso: #2362,#2363
  8581.  
  8582. (Table 2361)
  8583. Values POSTMSG callback routine is called with:
  8584.     STACK:    DWORD    "lParam" parameter from DOSApp
  8585.         WORD    "wParam" parameter from DOSApp
  8586.         WORD    Windows message number (WM_USER + 100h)
  8587.         WORD    registered HWND
  8588.  
  8589. (Table 2362)
  8590. Call POSTMSG V86-mode entry point with:
  8591.     BX = wParam value to pass to protected-mode callback
  8592.     DX:AX = lParam value to pass to protected-mode callback
  8593. Return: CF clear if successful
  8594.     CF set on error (no WinApp registered)
  8595. SeeAlso: #2360
  8596. --------W-2F1684BX7FE0-----------------------
  8597. INT 2F - MS Windows - VSWITCHD - GET API ENTRY POINT
  8598.     AX = 1684h
  8599.     BX = 7FE0h (virtual device ID for VSWITCHD device) (see #2290)
  8600.     ES:DI = 0000h:0000h
  8601. Return: ES:DI -> VxD API entry point (see #2363)
  8602.           0000h:0000h if the VxD does not support an API
  8603.  
  8604. (Table 2363)
  8605. Call VSWITCHD entry point with:
  8606.     AX = function
  8607.         0000h toggle windowed mode (simulate Alt-Enter keypress)
  8608.         Return: nothing
  8609.         0001h get windowed mode
  8610.         Return: CF clear if VM is windowed
  8611.             CF set if VM is full-screen
  8612. SeeAlso: #2360,#2364
  8613. --------W-2F1684BX8888-----------------------
  8614. INT 2F - MS Windows - VbillD - GET API ENTRY POINT
  8615.     AX = 1684h
  8616.     BX = 8888h (virtual device ID for VbillD device) (see #2290)
  8617.     ES:DI = 0000h:0000h
  8618. Return: ES:DI -> VxD API entry point (see #2364)
  8619.           0000h:0000h if the VxD does not support an API
  8620.  
  8621. (Table 2364)
  8622. Call VbillD entry point with:
  8623.     AX = function
  8624.         0001h set reverse video
  8625.         0002h set normal video
  8626. Return: ???
  8627. SeeAlso: #2363
  8628. --------W-2F1685-----------------------------
  8629. INT 2F - MS Windows - SWITCH VMs AND CALLBACK
  8630.     AX = 1685h
  8631.     BX = VM ID of virtual machine to switch to
  8632.     CX = flags (see #2365)
  8633.     DX:SI = priority boost (refer to VMM.INC)
  8634.     ES:DI -> FAR procedure to callback
  8635. Return: CF set on error
  8636.         AX = error code
  8637.         01h invalid VM ID
  8638.         02h invalid priority boost
  8639.         03h invalid flags
  8640.     CF clear if successful
  8641.         event will be or has been called
  8642. Notes:    some DOS devices, such as networks, need to call functions in a
  8643.       specific VM. This call forces the appropriate VM to be installed.
  8644.     the callback procedure must preserve all registers and return with IRET
  8645. SeeAlso: AX=1683h,INT 15/AX=1117h,AX=DB06h"WINGO"
  8646.  
  8647. Bitfields for VM switching flags:
  8648. Bit(s)    Description    (Table 2365)
  8649.  0    wait until interrupts enabled
  8650.  1    wait until critical section unowned
  8651.  2-15    reserved (zero)
  8652. --------E-2F1686-----------------------------
  8653. INT 2F - DOS Protected-Mode Interface - DETECT MODE
  8654.     AX = 1686h
  8655. Return: AX = 0000h if operating in protected mode under DPMI (INT 31 available)
  8656.     AX nonzero if in real/V86 mode or no DPMI (INT 31 not available)
  8657. SeeAlso: AX=1687h
  8658. --------E-2F1687-----------------------------
  8659. INT 2F - DOS Protected-Mode Interface - INSTALLATION CHECK
  8660.     AX = 1687h
  8661. Return: AX = 0000h if installed
  8662.         BX = flags
  8663.         bit 0: 32-bit programs supported
  8664.         CL = processor type (02h=80286, 03h=80386, 04h=80486)
  8665.         DH = DPMI major version
  8666.         DL = two-digit DPMI minor version (binary)
  8667.         SI = number of paragraphs of DOS extender private data
  8668.         ES:DI -> DPMI mode-switch entry point (see #2366)
  8669.     AX nonzero if not installed
  8670. SeeAlso: AX=1686h,AX=43E0h,AX=DE01h/BX=4450h,AX=FB42h/BX=0001h
  8671. SeeAlso: INT 31/AX=0400h,INT 31/AX=5702h,INT D4/AH=10h
  8672.  
  8673. (Table 2366)
  8674. Call DPMI mode switch entry point with:
  8675.     AX = flags
  8676.         bit 0: set if 32-bit program
  8677.     ES = real mode segment of buffer for DPMI private data (ignored if
  8678.         SI was zero)
  8679. Return: CF set on error
  8680.         program still in real mode
  8681.         AX = error code (DPMI 1.0+)
  8682.            8011h unable to allocate all necessary descriptors
  8683.            8021h 32-bit program specified, but 16-bit DPMI host
  8684.     CF clear if successful
  8685.         CS = 16-bit selector corresponding to real-mode CS
  8686.         SS = selector corresponding to real-mode SS (64K limit)
  8687.         DS = selector corresponding to real-mode DS (64K limit)
  8688.         ES = selector to program's PSP (100h byte limit)
  8689.         FS = GS = 0
  8690.         high word of ESP = 0 if 32-bit program
  8691.         program now in protected mode
  8692. Note:    this entry point is only called for the initial switch to protected
  8693.       mode
  8694. --------W-2F1688BX0BAD-----------------------
  8695. INT 2F U - MS Windows 3.0, 386MAX v6.01 - GET ALIAS SELECTOR TO LDT
  8696.     AX = 1688h
  8697.     BX = 0BADh
  8698. Return: AX = 0000h if supported
  8699.         BX = alias selector for LDT
  8700. Note:    use the LSL instruction or GetSelectorLimit() to find LDT size
  8701.     this call should be considered obsolete for Windows 3.1+, as the
  8702.       alias selector can be retrieved via the API entry point for
  8703.       "MS-DOS" retrieved from INT 2F/AX=168Ah (see #2368)
  8704. SeeAlso: AX=1687h,#2368
  8705. --------W-2F1689-----------------------------
  8706. INT 2F U - MS Windows 3.0+ - KERNEL IDLE CALL
  8707.     AX = 1689h
  8708.     ???
  8709. Return: ???
  8710. Desc:    the Windows KERNEL idle loop calls this function, which VMM uses as an
  8711.       indication that the system is idle, which in turn generates INT 28
  8712.       and INT 2F/AX=1607h/BX=0018h callouts
  8713. SeeAlso: AX=1680h,AX=1607h/BX=0018h,INT 15/AX=1000h,INT 28
  8714. --------E-2F168A-----------------------------
  8715. INT 2F - DPMI 0.9+ - GET VENDOR-SPECIFIC API ENTRY POINT
  8716.     AX = 168Ah
  8717.     DS:(E)SI = selector:offset of ASCIZ vendor name (see #2367)
  8718. Return: AL = status
  8719.         00h successful
  8720.            ES:(E)DI -> extended API entry point
  8721.         8Ah unsuccessful
  8722. Notes:    the vendor name is used to determine which entry point to return; it is
  8723.       case-sensitive
  8724.     available in protected mode only
  8725.     32-bit applications use ESI and EDI, 16-bit applications use SI and DI
  8726.     this call is present but not documented for DPMI 0.9
  8727.     the Borland C++ 3.1 DPMILOAD does not handle requests for entry points
  8728.       other than the MS-DOS one gracefully, producing an unhandled
  8729.       exception report; this has been fixed in the Borland Pascal 7 version
  8730. SeeAlso: AX=1687h,INT 31/AX=0A00h,INT 31/AH=57h
  8731.  
  8732. (Table 2367)
  8733. Values for DPMI vendor-specific API names:
  8734.  "MS-DOS"    MS Windows and 386MAX v6.00+ (see #2368)
  8735.  "386MAX"    386MAX v6.00+
  8736.  "HELIX_DPMI"    Helix Netroom's DPMI server
  8737.  "Phar Lap"    Phar Lap 286|DOS-Extender RUN286 (see #2369)
  8738.  "RATIONAL DOS/4G"  DOS/4G, DOS/4GW
  8739.  "VIRTUAL SUPPORT"  Borland 32RTM
  8740.  
  8741. (Table 2368)
  8742. Call Windows-support ("MS-DOS") entry point with:
  8743.     AX = 0100h get LDT alias selector
  8744. Return: CF clear if successful
  8745.         AX = alias selector
  8746.     CF set on error
  8747. SeeAlso: #2367,AX=1688h/BX=0BADh
  8748.  
  8749. (Table 2369)
  8750. Call Phar Lap RUN286 entry point with:
  8751.     AX = 0000h (function "load MSW")
  8752.     BX = new value for MSW register (low word of CR0)
  8753. Return: ???
  8754. SeeAlso: #2367
  8755. --------W-2F168B-----------------------------
  8756. INT 2F - MS Windows 3.1 - SET FOCUS TO SPECIFIED VIRTUAL MACHINE
  8757.     AX = 168Bh
  8758.     BX = virtual machine ID (see AX=1683h), 0000h for current DOS box
  8759. Return: AL = 00h if focus set to specified VM
  8760. Notes:    documented on the Microsoft Developer's Network CD-ROM
  8761.     if the VM is a windowed DOS box, it will be set to full screen
  8762. SeeAlso: AX=1683h
  8763. --------W-2F168C-----------------------------
  8764. INT 2F - MS Windows 3.1 - RESTART COMMAND
  8765.     AX = 168Ch
  8766.     ???
  8767. Return: ???
  8768. Note:    WIN.COM executes specified application
  8769. --------W-2F168EDX0000-----------------------
  8770. INT 2F - Windows95 - TITLE - SET APPLICATION TITLE
  8771.     AX = 168Eh
  8772.     DX = 0000h
  8773.     ES:DI -> ASCIZ application title (max 79 chars+NUL)
  8774. Return: AX = status
  8775.         0000h failed
  8776.         0001h successful
  8777. Note:    if ES:DI is 0000h:0000h or points at an empty string, the current
  8778.       title is removed
  8779. BUG:    this function can return a successful status even though the title was
  8780.       not changed; reportedly, waiting for two clock ticks after program
  8781.       startup solves this problem
  8782. SeeAlso: AX=168Eh/DX=0001h,AX=168Eh/DX=0002h
  8783. --------W-2F168EDX0001-----------------------
  8784. INT 2F - Windows95 - TITLE - SET VIRTUAL MACHINE TITLE
  8785.     AX = 168Eh
  8786.     DX = 0001h
  8787.     ES:DI -> ASCIZ virtual machine title (max 29 chars+NUL)
  8788. Return: AX = status
  8789.         0000h failed
  8790.         0001h successful
  8791. Notes:    if ES:DI is 0000h:0000h or points at an empty string, the current
  8792.       title is removed
  8793.     the VM title should only be changed on explicit instruction from the
  8794.       user
  8795. BUG:    this function can return a successful status even though the title was
  8796.       not changed; reportedly, waiting for two clock ticks after program
  8797.       startup solves this problem
  8798. SeeAlso: AX=168Eh/DX=0000h,AX=168Eh/DX=0003h
  8799. --------W-2F168EDX0002-----------------------
  8800. INT 2F - Windows95 - TITLE - GET APPLICATION TITLE
  8801.     AX = 168Eh
  8802.     DX = 0002h
  8803.     ES:DI -> buffer for ASCIZ application title
  8804.     CX = size of buffer in bytes
  8805. Return: AX = status
  8806.         0000h failed
  8807.         0001h successful
  8808. Desc:    copy as much of the application's window title as possible to the given
  8809.       buffer, appending a terminating NUL to the buffer
  8810. SeeAlso: AX=168Eh/DX=0000h,AX=168Eh/DX=0003h
  8811. --------W-2F168EDX0003-----------------------
  8812. INT 2F - Windows95 - TITLE - GET VIRTUAL MACHINE TITLE
  8813.     AX = 168Eh
  8814.     DX = 0003h
  8815.     ES:DI -> buffer for ASCIZ virtual-machine title
  8816.     CX = size of buffer in bytes
  8817. Return: AX = status
  8818.         0000h failed
  8819.         0001h successful
  8820. Desc:    copy as much of the virtual machine's title as possible to the given
  8821.       buffer, appending a terminating NUL to the buffer
  8822. SeeAlso: AX=168Eh/DX=0001h,AX=168Eh/DX=0002h
  8823. --------W-2F168FDH00-------------------------
  8824. INT 2F - Windows95 - CLOSE-AWARENESS - ENABLE/DISABLE CLOSE COMMAND
  8825.     AX = 168Fh
  8826.     DH = 00h
  8827.     DL = new state
  8828.         00h disabled
  8829.         01h enabled
  8830. Return: AX = status
  8831.         0000h successful
  8832.         else failed
  8833. Desc:    enable or disable the system menu Close command for an application
  8834. SeeAlso: AX=168Fh/DH=01h,AX=168Fh/DH=02h
  8835. --------W-2F168FDH01-------------------------
  8836. INT 2F - Windows95 - CLOSE-AWARENESS - QUERY CLOSE
  8837.     AX = 168Fh
  8838.     DH = 01h
  8839.     DL = 00h (reserved)
  8840. Return: AX = status
  8841.         0000h Close command selected but not yet acknowledged
  8842.         0001h Close command issued and acknowledged
  8843.         168Fh Close command not selected -- application should continue
  8844. Desc:    determine whether the user has requested that the application be closed
  8845.       by selecting the system menu's Close option
  8846. SeeAlso: AX=168Fh/DH=00h,AX=168Fh/DH=02h
  8847. --------W-2F168FDH02-------------------------
  8848. INT 2F - Windows95 - CLOSE-AWARENESS - ACKNOWLEDGE CLOSE
  8849.     AX = 168Fh
  8850.     DH = 02h
  8851.     DL = 00h (reserved)
  8852. Return: AX = status
  8853.         0000h successful
  8854.         else failed
  8855. Note:    once a Close command has been issued, no further keyboard input is
  8856.       available to the application until it calls this function to
  8857.       acknowledge the Close request
  8858. SeeAlso: AX=168Fh/DH=00h,AX=168Fh/DH=03h
  8859. --------W-2F168FDH03-------------------------
  8860. INT 2F - Windows95 - CLOSE-AWARENESS - CANCEL CLOSE
  8861.     AX = 168Fh
  8862.     DH = 03h
  8863.     DL = 00h (reserved)
  8864. Return: AX = status
  8865.         0000h successful
  8866.         else failed
  8867. Desc:    cancels a close request which has already been acknowledged if the
  8868.       application determines that it will not exit at this time
  8869. SeeAlso: AX=168Fh/DH=00h,AX=168Fh/DH=03h
  8870. --------D-2F1690-----------------------------
  8871. INT 2F U - MS-DOS 7 kernel - GET/SET ???
  8872.     AX = 1690h
  8873.     ES:BX -> ???
  8874. Return: ES:BX -> ??? data (see #2370)
  8875. SeeAlso: AX=1611h,AX=1614h
  8876.  
  8877. Format of MS-DOS 7 kernel ??? data:
  8878. Offset    Size    Description    (Table 2370)
  8879.  00h    DWORD    -> ??? data (appears to list the installed drivers)
  8880.  04h    DWORD    -> ??? (value passed in via ES:BX is stored here)
  8881. --------W-2F1700-----------------------------
  8882. INT 2F - MS Windows "WINOLDAP" - IDENTIFY WinOldAp VERSION
  8883.     AX = 1700h
  8884. Return: AX = 1700h if this version of WINOLDAP doesn't support clipboard
  8885.     AX <> 1700h
  8886.         AL = WINOLDAP major version
  8887.         AH = WINOLDAP minor version
  8888. Program: WinOldAp (WINOLDAP.MOD) is a Microsoft Windows extension supporting
  8889.       "old" (character-mode) application access to Dynamic Data Exchange,
  8890.       menus, and the Windows clipboard.
  8891. Note:    this installation check DOES NOT follow the format used by other
  8892.       software of returning AL=FFh
  8893. SeeAlso: AX=1701h,AX=4601h
  8894. Index:    installation check;WINOLDAP
  8895. --------W-2F1701-----------------------------
  8896. INT 2F - MS Windows "WINOLDAP" - OPEN CLIPBOARD
  8897.     AX = 1701h
  8898. Return: AX = status
  8899.         nonzero success
  8900.         0000h   clipboard is already open
  8901. SeeAlso: AX=1700h,AX=1702h,AX=1703h,AX=1704h,INT 16/AX=CB00h
  8902. --------W-2F1702-----------------------------
  8903. INT 2F - MS Windows "WINOLDAP" - EMPTY CLIPBOARD
  8904.     AX = 1702h
  8905. Return: AX = status
  8906.         nonzero clipboard has been emptied
  8907.         0000h   failure
  8908. SeeAlso: AX=1700h,AX=1701h,AX=1703h,AX=1704h,INT 16/AX=CB05h
  8909. --------W-2F1703-----------------------------
  8910. INT 2F - MS Windows "WINOLDAP" - SET CLIPBOARD DATA
  8911.     AX = 1703h
  8912.     DX = clipboard format supported by WinOldAp (see #2371)
  8913.     ES:BX -> data (see #2372,#2373)
  8914.     SI:CX = size of data
  8915. Return: AX = status
  8916.         nonzero data copied into the Clipboard
  8917.         0000h   failure
  8918. SeeAlso: AX=1701h,AX=1705h,INT 16/AX=CB04h
  8919.  
  8920. (Table 2371)
  8921. Values for WinOldAp clipboard format:
  8922.  01h    text
  8923.  02h    bitmap
  8924.  03h    metafile picture
  8925.  04h    SYLK
  8926.  05h    DIF
  8927.  06h    TIFF
  8928.  07h    OEM text
  8929.  08h    DIB bitmap
  8930.  80h    special format (used by Windows WRITE, maybe other Windows applets???)
  8931.  81h    DSP text
  8932.  82h    DSP bitmap
  8933.  
  8934. Format of Windows Clipboard bitmap:
  8935. Offset    Size    Description    (Table 2372)
  8936.  00h    WORD    type (0000h)
  8937.  02h    WORD    width of bitmap in pixels
  8938.  04h    WORD    height of bitmap in pixels
  8939.  06h    WORD    bytes per line
  8940.  08h    BYTE    number of color planes
  8941.  09h    BYTE    number of adjacent color bits in pixel
  8942.  0Ah    DWORD    pointer to start of data
  8943.  0Eh    WORD    width in 0.1mm units
  8944.  10h    WORD    height in 0.1mm units
  8945.  12h  N BYTEs    bitmap data
  8946.  
  8947. Format of Windows metafile picture:
  8948. Offset    Size    Description    (Table 2373)
  8949.  00h    WORD    mapping mode
  8950.  02h    WORD    X extent
  8951.  04h    WORD    Y extent
  8952.  06h    WORD    picture data
  8953. --------W-2F1704-----------------------------
  8954. INT 2F - MS Windows "WINOLDAP" - GET CLIPBOARD DATA SIZE
  8955.     AX = 1704h
  8956.     DX = clipboard format supported by WinOldAp (see #2371)
  8957. Return: DX:AX = size of data in bytes, including any headers
  8958.         0000h:0000h if no data in this format in the Clipboard
  8959. Note:    Windows reportedly rounds up the size of the data to a multiple of 32
  8960.       bytes
  8961. SeeAlso: AX=1700h,AX=1703h,AX=1705h
  8962. --------W-2F1705-----------------------------
  8963. INT 2F - MS Windows "WINOLDAP" - GET CLIPBOARD DATA
  8964.     AX = 1705h
  8965.     DX = clipboard format supported by WinOldAp (see #2371)
  8966.     ES:BX -> buffer
  8967. Return: AX = status
  8968.         nonzero success
  8969.         0000h   error, or no data in this format in Clipboard
  8970. SeeAlso: AX=1700h,AX=1704h,INT 16/AX=CB03h
  8971. --------W-2F1708-----------------------------
  8972. INT 2F - MS Windows "WINOLDAP" - CloseClipboard
  8973.     AX = 1708h
  8974. Return: AX = status
  8975.         0000h failure
  8976.         nonzero success
  8977. --------W-2F1709-----------------------------
  8978. INT 2F - MS Windows "WINOLDAP" - COMPACT CLIPBOARD
  8979.     AX = 1709h
  8980.     SI:CX = desired size in bytes
  8981. Return: DX:AX = number of bytes in largest block of free memory
  8982. Note:    WinOldAp is responsible for including the size of any headers
  8983. --------W-2F170A-----------------------------
  8984. INT 2F - MS Windows "WINOLDAP" - GET DEVICE CAPABILITIES
  8985.     AX = 170Ah
  8986.     DX = GDI information index (see #2374)
  8987. Return: AX = integer value of the desired item
  8988.           (see #2375,#2376,#2377,#2378,#2379,#2380,#2381)
  8989. Note:    This function returns the device-capability bits for the given display
  8990.  
  8991. (Table 2374)
  8992. Values for GDI information index:
  8993.  00h    device driver version
  8994.  02h    device classification
  8995.  04h    width in mm
  8996.  06h    height in mm
  8997.  08h    width in pixels
  8998.  0Ah    height in pixels
  8999.  0Ch    bits per pixel
  9000.  0Eh    number of bit planes
  9001.  10h    number of brushes supported by device
  9002.  12h    number of pens supported by device
  9003.  14h    number of markers supported by device
  9004.  16h    number of fonts supported by device
  9005.  18h    number of colors
  9006.  1Ah    size required for device descriptor
  9007.  1Ch    curve capabilities
  9008.  1Eh    line capabilities
  9009.  20h    polygon capabilities
  9010.  22h    text capabilities
  9011.  24h    clipping capabilities
  9012.  26h    bitblt capabilities
  9013.  28h    X aspect
  9014.  2Ah    Y aspect
  9015.  2Ch    length of hypotenuse of aspect
  9016.  58h    logical pixels per inch of width
  9017.  5Ah    logical pixels per inch of height
  9018. SeeAlso: #2375,#2376,#2377,#2378,#2379,#2380,#2381
  9019.  
  9020. (Table 2375)
  9021. Values for device classification:
  9022.  00h    vector plotter
  9023.  01h    raster display
  9024.  02h    raster printer
  9025.  03h    raster camera
  9026.  04h    character-stream, PLP
  9027.  05h    Metafile, VDM
  9028.  06h    display-file
  9029. SeeAlso: #2374,#2376,#2377,#2378,#2379,#2380,#2381
  9030.  
  9031. Bitfields for curve capabilities:
  9032. Bit(s)    Description    (Table 2376)
  9033.  0    circles
  9034.  1    pie wedges
  9035.  2    chord arcs
  9036.  3    ellipses
  9037.  4    wide lines
  9038.  5    styled lines
  9039.  6    wide styled lines
  9040.  7    interiors
  9041. SeeAlso: #2374,#2375,#2377,#2378,#2379,#2380,#2381
  9042.  
  9043. Bitfields for line capabilities:
  9044. Bit(s)    Description    (Table 2377)
  9045.  1    polylines
  9046.  2    markers
  9047.  3    polymarkers
  9048.  4    wide lines
  9049.  5    styled lines
  9050.  6    wide styled lines
  9051.  7    interiors
  9052. SeeAlso: #2374,#2375,#2376,#2378,#2379,#2380,#2381
  9053.  
  9054. Bitfields for polygon capabilities:
  9055. Bit(s)    Description    (Table 2378)
  9056.  0    polygons
  9057.  1    rectangles
  9058.  2    trapezoids
  9059.  3    scanlines
  9060.  4    wide borders
  9061.  5    styled borders
  9062.  6    wide styled borders
  9063.  7    interiors
  9064. SeeAlso: #2374,#2375,#2376,#2377,#2379,#2380,#2381
  9065.  
  9066. Bitfields for text capabilities:
  9067. Bit(s)    Description    (Table 2379)
  9068.  0    output precision character
  9069.  1    output precision stroke
  9070.  2    clippping precision stroke
  9071.  3    90-degree character rotation
  9072.  4    arbitrary character rotation
  9073.  5    independent X and Y scaling
  9074.  6    double-size
  9075.  7    integer scaling
  9076.  8    continuous scaling
  9077.  9    bold
  9078.  10    italic
  9079.  11    underline
  9080.  12    strikeout
  9081.  13    raster fonts
  9082.  14    vector fonts
  9083.  15    reserved
  9084. SeeAlso: #2374,#2375,#2376,#2377,#2378,#2380,#2381
  9085.  
  9086. (Table 2380)
  9087. Values for clipping capabilities:
  9088.  00h    none
  9089.  01h    clipping to rectangles
  9090. SeeAlso: #2374,#2375,#2376,#2377,#2378,#2379,#2381
  9091.  
  9092. Bitfields for raster capabilities:
  9093. Bit(s)    Description    (Table 2381)
  9094.  0    simple bitBLT
  9095.  1    device requires banding support
  9096.  2    device requires scaling support
  9097.  3    supports >64K bitmap
  9098. SeeAlso: #2374,#2375,#2376,#2377,#2378,#2379,#2380
  9099. ----------2F18-------------------------------
  9100. INT 2F U - MS-Manager
  9101.     AH = 18h
  9102.     ???
  9103. Return: ???
  9104. --------l-2F1900-----------------------------
  9105. INT 2F U - DOS 4.x only SHELLB.COM - INSTALLATION CHECK
  9106.     AX = 1900h
  9107. Return: AL = status
  9108.         00h not installed
  9109.         FFh installed
  9110. --------l-2F1901-----------------------------
  9111. INT 2F U - DOS 4.x only SHELLB.COM - SHELLC.EXE INTERFACE
  9112.     AX = 1901h
  9113.     BL = SHELLC type
  9114.         00h transient
  9115.         01h resident
  9116.     DS:DX -> far call entry point for resident SHELLC.EXE
  9117. Return: ES:DI -> SHELLC.EXE workspace within SHELLB.COM
  9118. Note:    SHELLB.COM and SHELLC.EXE are parts of the DOS 4.x shell
  9119. --------l-2F1902-----------------------------
  9120. INT 2F U - DOS 4.x only SHELLB.COM - COMMAND.COM INTERFACE
  9121.     AX = 1902h
  9122.     ES:DI -> ASCIZ full filename of current batch file, with at least the
  9123.           final filename element uppercased
  9124.     DS:DX -> buffer for results
  9125. Return: AL = 00h  failed, either
  9126.         (a) final filename element quoted at ES:DI does not match
  9127.               identity of shell batch file quoted as parameter of most
  9128.               recent call of SHELLB command, or
  9129.         (b) no more Program Start Commands available.
  9130.     AL= FFh     success, then:
  9131.         memory at DS:[DX+1] onwards filled as:
  9132.         DX+1:    BYTE    count of bytes of PSC
  9133.         DX+2: N BYTEs    Program Start Command text
  9134.             BYTE    0Dh terminator
  9135. Desc:    COMMAND.COM executes the result of this call in preference to
  9136.       reading a command from a batch file.    Thus the batch file does not
  9137.       advance in execution for so long as SHELLB provides PSCs from its
  9138.       workspace.
  9139. Note:    The PSCs are planted in SHELLB workspace by SHELLC, the user
  9140.       menu interface.  The final PSC of a sequence is finished with a
  9141.       GOTO COMMON, which causes a loop back in the batch file which called
  9142.       SHELLC so as to execute SHELLC again.     The check on batch file name
  9143.       permits PSCs to CALL nested batch files while PSCs are still stacked
  9144.       up for subsequent execution.
  9145. --------l-2F1903-----------------------------
  9146. INT 2F U - DOS 4.x only SHELLB.COM - COMMAND.COM interface
  9147.     AX = 1903h
  9148.     ES:DI -> ASCIZ batch file name as for AX=1902h
  9149. Return: AL = status
  9150.         FFh quoted batch file name matches last SHELLB parameter
  9151.         00h it does not
  9152. --------l-2F1904-----------------------------
  9153. INT 2F U - DOS 4.x only SHELLB.COM - SHELLB transient to TSR intrface
  9154.     AX = 1904h
  9155. Return: ES:DI -> name of current shell batch file:
  9156.         WORD    number of bytes of name following
  9157.         BYTEs    (8 max) uppercase name of shell batch file
  9158. ----------2F1980-----------------------------
  9159. INT 2F U - IBM ROM-DOS v4.0 - INSTALLATION CHECK
  9160.     AX = 1980h
  9161. Return: AL = FFh if ??? installed/supported
  9162. Note:    called at the very beginning of SHELLSTB.COM, which exits if AL is not
  9163.       FFh on return
  9164. SeeAlso: AX=1981h,AX=1982h
  9165. ----------2F1981-----------------------------
  9166. INT 2F U - IBM ROM-DOS v4.0 - GET ??? STRING
  9167.     AX = 1981h
  9168.     DS:DX -> buffer for ???
  9169. Return: AL = status
  9170.         FFh if successful
  9171.         DS:DX buffer filled (refer to note below)
  9172.         81h on error
  9173. Note:    the first byte of the buffer is unchanged; depending on a byte in
  9174.       IBMBIO.COM, the remainder of the buffer is filled with either
  9175.       "C:\ROMSHELL.COM",0Dh or xxh,xxh,0Fh,"C:\ROMSHELL.COM",0Dh
  9176. SeeAlso: AX=1980h,AX=1982h
  9177. ----------2F1982-----------------------------
  9178. INT 2F U - IBM ROM-DOS v4.0 - GET ??? TABLE
  9179.     AX = 1982h
  9180. Return: AL = FFh if supported
  9181.         ES:DI -> ??? table (see #2382)
  9182. Note:    called by ROMSHELL.COM
  9183. SeeAlso: AX=1980h,AX=1981h
  9184.  
  9185. Format of ROM-DOS v4.0 ??? table:
  9186. Offset    Size    Description    (Table 2382)
  9187.  00h    BYTE    ??? (00h)
  9188.  01h    BYTE    ??? (41h) (ROMSHELL.COM checks if =00h)
  9189.  02h    BYTE    ??? (00h) (ROMSHELL.COM checks if =01h)
  9190.  03h    WORD    ??? (0001h) (ROMSHELL.COM checks if =0001h)
  9191.  05h    BYTE    ??? (00h)
  9192.  06h    WORD    ??? (04D5h)
  9193. --------V-2F1A00-----------------------------
  9194. INT 2F - DOS 4.0+ ANSI.SYS - INSTALLATION CHECK
  9195.     AX = 1A00h
  9196. Return: AL = FFh if installed
  9197. Notes:    AVATAR.SYS also responds to this call
  9198.     documented for DOS 5+, but undocumented for DOS 4.x
  9199. --------V-2F1A00BX414E-----------------------
  9200. INT 2F - ANSIPLUS.SYS v2.00+ - INSTALLATION CHECK
  9201.     AX = 1A00h
  9202.     BX = 414Eh ('AN')
  9203.     CX = 5349h ('SI')
  9204.     DX = 2B2Bh ('++')
  9205. Return: AL = FFh if installed
  9206.         CF clear
  9207.         ES:BX -> INT 29 entry point
  9208.         CX = ANSIPLUS BCD version number (v3.10+, CH=major, CL=minor)
  9209.         DL = capabilities (v4.00+)
  9210.         00h full capability driver
  9211.         01h reduced capability driver
  9212.         2Bh full capability driver (before v4.00)
  9213. Program: ANSIPLUS.SYS is a CON device driver by Kristofer Sweger which
  9214.       replaces the normal ANSI.SYS with a more powerful version having
  9215.       many additional features
  9216. Notes:    ANSIPLUS also identifies itself as ANSI.SYS if BX,CX, or DX differ
  9217.       from the magic values above
  9218.     an additional installation check is to test for the signature
  9219.       "ANSIPLUS" 12 bytes before the INT 29 entry point; the version
  9220.       number is also available as a four-character ASCII string (e.g.
  9221.       "4.00") four bytes before the entry point
  9222. SeeAlso: AX=1AA5h,AX=1AA6h,AX=1AA7h,AX=1AA8h,AX=1AA9h,AX=1AAAh,AX=D44Fh
  9223. --------V-2F1A00BX4156-----------------------
  9224. INT 2F - AVATAR.SYS - INSTALLATION CHECK
  9225.     AX = 1A00h
  9226.     BX = 4156h ('AV')
  9227.     CX = 4154h ('AT')
  9228.     DX = 4152h ('AR')
  9229. Return: AL = FFh if installed
  9230.         CF clear
  9231.         BX = AVATAR protocol level supported
  9232.         CX = driver type
  9233.         0000h AVATAR.SYS
  9234.         4456h DVAVATAR.COM inside DESQview window
  9235.         DX = 0016h
  9236. Program: AVATAR.SYS is a CON replacement by George Adam Stanislav which
  9237.       interprets AVATAR command codes in the same way that ANSI interprets
  9238.       ANSI command codes
  9239. Notes:    AVATAR also identifies itself as ANSI.SYS if BX, CX, or DX differ from
  9240.       the magic values
  9241. SeeAlso: AX=1A21h,AX=1A3Ch,AX=1A3Fh,AX=1A52h,AX=1A72h,AX=1A7Dh,AX=1AADh"AVATAR"
  9242. --------V-2F1A01-----------------------------
  9243. INT 2F U - DOS 4.0+ ANSI.SYS internal - GET/SET DISPLAY INFORMATION
  9244.     AX = 1A01h
  9245.     CL = function
  9246.         7Fh for GET
  9247.         5Fh for SET
  9248.     DS:DX -> parm block as for INT 21,AX=440Ch,CX=037Fh/035Fh respectively
  9249. Return: CF clear if successful
  9250.         AX destroyed
  9251.     CF set on error
  9252.         AX = error code (many non-standard)
  9253. Note:    presumably this is the DOS IOCTL interface to ANSI.SYS
  9254. SeeAlso: AX=1A02h,INT 21/AX=440Ch
  9255. --------V-2F1A02-----------------------------
  9256. INT 2F U - DOS 4.0+ ANSI.SYS internal - MISCELLANEOUS REQUESTS
  9257.     AX = 1A02h
  9258.     DS:DX -> parameter block (see #2383)
  9259. Return: CF clear if successful
  9260.     CF set on error
  9261.         AX = error code
  9262. Note:    DOS 5+ chains to previous handler if AL > 02h on call
  9263. SeeAlso: AX=1A01h
  9264.  
  9265. Format of ANSI.SYS parameter block:
  9266. Offset    Size    Description    (Table 2383)
  9267.  00h    BYTE    subfunction
  9268.         00h set/reset interlock
  9269.         01h get /L flag
  9270.  01h    BYTE    interlock state
  9271.         00h=reset, 01h=set
  9272.           This interlock prevents some of the ANSI.SYS post-processing
  9273.           in its hook onto INT 10, AH=00h mode set
  9274.  02h    BYTE    (returned)
  9275.         00h if /L not in effect
  9276.         01h if /L in effect
  9277. --------V-2F1A21-----------------------------
  9278. INT 2F - AVATAR.SYS - SET DRIVER STATE
  9279.     AX = 1A21h (AL='!')
  9280.     DS:SI -> command string with one or more state characters (see #2384)
  9281.     CX = length of command string
  9282. Return: CF set on error (invalid subfunction)
  9283.     CF clear if successful
  9284. Note:    the characters in the state string are interpreted left to right, and
  9285.       need not be in any particular order
  9286. SeeAlso: AX=1A00h/BX=4156h,AX=1A3Fh
  9287.  
  9288. (Table 2384)
  9289. Values for AVATAR.SYS state characters:
  9290.  'a'    activate driver
  9291.  'd'    disable driver
  9292.  'f'    use fast screen output
  9293.  'g'    always convert gray keys (+ and -) to function keys
  9294.  'G'    never convert gray keys
  9295.  'l'    convert gray keys only when ScrollLock active
  9296.  's'    use slow screen output
  9297.  't'    Tandy 1000 keyboard (not yet implemented)
  9298. --------V-2F1A3C-----------------------------
  9299. INT 2F U - AVATAR.SYS v0.11 - ???
  9300.     AX = 1A3Ch
  9301.     ???
  9302. Return: CX = 0000h
  9303. SeeAlso: AX=1A00h/BX=4156h,AX=1A21h,AX=1A3Eh
  9304. --------V-2F1A3E-----------------------------
  9305. INT 2F U - AVATAR.SYS v0.11 - ???
  9306.     AX = 1A3Eh
  9307.     CL = ???
  9308.     CH = ???
  9309.     DL = ???
  9310.     DH = ???
  9311. Return: CL = ???
  9312.     CH = ???
  9313.     DL = ???
  9314.     DH = ???
  9315. SeeAlso: AX=1A3Ch,AX=1A3Fh
  9316. --------V-2F1A3F-----------------------------
  9317. INT 2F - AVATAR.SYS - QUERY DRIVER STATE
  9318.     AX = 1A3Fh (AL='?')
  9319.     ES:DI -> buffer
  9320.     CX = length of buffer in bytes
  9321. Return: CF clear
  9322.     CX = actual size of returned info
  9323. Note:    the returned information consists of multiple letters whose meanings
  9324.       are described under AX=1A21h
  9325. SeeAlso: AX=1A00h/BX=4156h,AX=1A21h,AX=1A44h
  9326. --------S-2F1A42BX4156-----------------------
  9327. INT 2F - AVATAR Serial Dispatcher - INSTALL IRQ3 HANDLER
  9328.     AX = 1A42h
  9329.     BX = 4156h ('AV')
  9330.     ES:DI -> FAR handler for serial port using IRQ3
  9331.     DS = data segment needed by handler
  9332. Return: AX = status/return value
  9333.         0000h if no more room
  9334.         1A42h if ASD not installed
  9335.         else handle to use when uninstalling
  9336. Notes:    the handler need not save/restore registers or signal EOI to the
  9337.       interrupt controller
  9338.     the handler should return AX=0000h if the interrupt was meant for it,
  9339.       and either leave AX unchanged or return a non-zero value otherwise
  9340.     the most recently installed handler will be called first, continuing
  9341.       to earlier handlers until one returns AX=0000h
  9342. SeeAlso: AX=1A43h,AX=1A62h
  9343. --------S-2F1A43BX4156-----------------------
  9344. INT 2F - AVATAR Serial Dispatcher - INSTALL IRQ4 HANDLER
  9345.     AX = 1A43h
  9346.     BX = 4156h ('AV')
  9347.     ES:DI -> FAR handler for serial port using IRQ4
  9348.     DS = data segment needed by handler
  9349. Return: AX = status/return value
  9350.         0000h if no more room
  9351.         1A43h if ASD not installed
  9352.         else handle to use when uninstalling
  9353. Notes:    (see AX=1A42h)
  9354. SeeAlso: AX=1A42h,AX=1A63h
  9355. --------V-2F1A44BX4156-----------------------
  9356. INT 2F - AVATAR.SYS v0.11+ - GET DATA SEGMENT
  9357.     AX = 1A44h
  9358.     BX = 4156h ('AV')
  9359. Return: AX = 0000h
  9360.     DS = data segment
  9361.     CX = size of data segment
  9362. Note:    AVATAR.SYS calls this function whenever it is invoked.    If each
  9363.       process under a multitasker hooks this function and provides a
  9364.       separate data segment, AVATAR.SYS becomes fully reentrant.
  9365. SeeAlso: AX=1A21h,AX=1A3Fh,AX=1A52h
  9366. --------V-2F1A52-----------------------------
  9367. INT 2F U - AVATAR.SYS v0.11 - GET ???
  9368.     AX = 1A52h
  9369.     CX = size of buffer
  9370.     ES:DI -> buffer
  9371. Return: ??? copied into user buffer
  9372. Note:    the maximum size of the data which may be copied is returned by
  9373.       AX=1A72h
  9374. SeeAlso: AX=1A53h,AX=1A72h
  9375. --------V-2F1A53-----------------------------
  9376. INT 2F U - AVATAR.SYS v0.11 - ???
  9377.     AX = 1A53h
  9378.     CL = ??? (00h-05h)
  9379.     ???
  9380. Return: ???
  9381. SeeAlso: AX=1A00h/BX=4156h,AX=1A52h,AX=1A72h
  9382. --------S-2F1A62BX4156-----------------------
  9383. INT 2F - AVATAR Serial Dispatcher - UNINSTALL IRQ3 HANDLER
  9384.     AX = 1A62h
  9385.     BX = 4156h ('AV')
  9386.     CX = handle for IRQ routine returned by AX=1A42h
  9387. SeeAlso: AX=1A42h,AX=1A63h
  9388. --------S-2F1A63BX4156-----------------------
  9389. INT 2F - AVATAR Serial Dispatcher - UNINSTALL IRQ4 HANDLER
  9390.     AX = 1A63h
  9391.     BX = 4156h ('AV')
  9392.     CX = handle for IRQ routine returned by AX=1A43h
  9393. SeeAlso: AX=1A43h,AX=1A62h
  9394. --------V-2F1A72-----------------------------
  9395. INT 2F U - AVATAR.SYS v0.11 - GET ??? SIZE
  9396.     AX = 1A72h
  9397. Return: CX = maximum size of ???
  9398. SeeAlso: AX=1A00h/BX=4156h,AX=1A52h,AX=1A7Bh,AX=1AADh"AVATAR"
  9399. --------V-2F1A7B-----------------------------
  9400. INT 2F U - AVATAR.SYS v0.11 - ???
  9401.     AX = 1A7Bh
  9402. Return: AX = 0000h
  9403.     CX = 0000h
  9404. SeeAlso: AX=1A00h/BX=4156h,AX=1A72h,AX=1A7Dh
  9405. --------V-2F1A7D-----------------------------
  9406. INT 2F U - AVATAR.SYS v0.11 - ???
  9407.     AX = 1A7Dh
  9408. Return: AX = ???
  9409. SeeAlso: AX=1A00h/BX=4156h,AX=1A7Bh
  9410. --------V-2F1AA3-----------------------------
  9411. INT 2F - ANSIPLUS v4.03+ - GET/SET ANSIPLUS INTERNAL VARIABLES
  9412.     AX = 1AA3h
  9413.     BH = function
  9414.         00h get current/default colors
  9415.         Return: CH = default colors
  9416.             CL = current colors
  9417.         01h set current/default colors
  9418.         CH = default colors (00h = leave unchanged)
  9419.         CL = current colors
  9420.         02h get current subscreen region
  9421.         Return: BH,BL = true screen rows,columns
  9422.             CH,CL = top left row,column of region
  9423.             DH,DL = bottom right row,column of region
  9424.         03h set subscreen region
  9425.         CH,CL = top left row,column of region
  9426.         DH,DL = bottom right row,column of region
  9427.         04h get driver features (bits 0-31)
  9428.         Return: DX:CX = current feature bits
  9429.         05h set driver features (bits 0-31)
  9430.         DX:CX = feature bits
  9431.         06h get driver features (bits 32-63)
  9432.         Return: DX:CX = current feature bits
  9433.         07h set driver features (bits 32-63)
  9434.         DX:CX = feature bits
  9435.         other: reserved for future use
  9436. SeeAlso: AX=1AA4h,AX=1AA5h
  9437. --------V-2F1AA4-----------------------------
  9438. INT 2F - ANSIPLUS v4.02+ - GET/SET ANSIPLUS SMOOTH SCROLLING RATE
  9439.     AX = 1AA4h
  9440.     BL = function
  9441.         00h get scrolling rate
  9442.         01h set scrolling rate
  9443.         BH = new minimum scrolling rate in scan lines per retrace
  9444. Return: BH = smooth scrolling rate
  9445. SeeAlso: AX=1AA3h,AX=1AA5h
  9446. --------V-2F1AA5-----------------------------
  9447. INT 2F - ANSIPLUS v4.00+ - GET/SET ANSIPLUS CLIPBOARD
  9448.     AX = 1AA5h
  9449.     DH = subfunction
  9450.         00h get clipboard information
  9451.         01h get clipboard text
  9452.         02h set clipboard text
  9453.         03h append text to clipboard
  9454.         04h clear clipboard
  9455.         05h paste clipboard to keyboard
  9456.     ES:BX -> data area for subfunctions 01h, 02h, and 03h
  9457.     CX = size of data area (maximum size for subfunction 01h, actual size
  9458.         to add to clipboard for subfunctions 02h and 03h)
  9459. Return: AL = status
  9460.         00h successful
  9461.         01h unsupported subfunction (reduced capability driver)
  9462.         02h insufficient space
  9463.         A5h unsupported function (ANSIPLUS before v4.00)
  9464.     ES:BX -> ANSIPLUS local clipboard data
  9465.     CX = number of bytes currently in local clipboard
  9466.     DX = maximum size of local clipboard
  9467. SeeAlso: AX=1A00h/BX=414Eh,AX=1AA4h,AX=1AA6h
  9468. --------V-2F1AA6-----------------------------
  9469. INT 2F - ANSIPLUS v4.00+ - ENABLE/DISABLE ANSIPLUS DRIVER
  9470.     AX = 1AA6h
  9471.     BH = function
  9472.         00h get hooked interrupts
  9473.         01h set hooked interrupts mask
  9474.         BL = new interrupts mask (see #2385)
  9475. Return: BL = previous interrupts mask (see #2385)
  9476. SeeAlso: AX=1A00h/BX=414Eh,AX=1AA7h
  9477.  
  9478. Desc:    used to temporarily disable any prior copies of ANSIPLUS when a new
  9479.       copy is installed, such as in a multitasking system like DESQview
  9480. Note:    only the most-recently loaded copy of ANSIPLUS on the current INT 2F
  9481.       chain responds to this call
  9482.  
  9483. Bitfields for ANSIPLUS hooked interrupts mask:
  9484. Bit(s)    Description    (Table 2385)
  9485.  0    INT 09 hook disabled
  9486.  1    INT 10 hook disabled
  9487.  2    INT 15 hook disabled
  9488.  3    INT 16 hook disabled
  9489.  4    INT 1C hook disabled
  9490.  5    reset all bits when INT 29 called
  9491.  6    INT 29 hook disabled
  9492.  7    INT 33, INT 74, or other mouse event hook disabled
  9493. --------V-2F1AA7-----------------------------
  9494. INT 2F - ANSIPLUS v4.00+ - ENABLE/DISABLE ANSIPLUS FEATURES
  9495.     AX = 1AA7h
  9496.     BL = function
  9497.         00h prevent scroll-back saves
  9498.         01h enable scroll-back saves
  9499.         02h disable key reprogramming and lock changes by escape sequences
  9500.         03h enable key reprogramming by escape sequences
  9501.         04h    disable and lock key stacking changes by escape sequences
  9502.         05h allow key stacking by escape sequences
  9503. Return: nothing
  9504. SeeAlso: AX=1AA6h
  9505. --------V-2F1AA8-----------------------------
  9506. INT 2F - ANSIPLUS v3.10+ - GET NEXT ANSIPLUS SCROLLBACK LINE
  9507.     AX = 1AA8h
  9508. Return: AL = status
  9509.         00h successful
  9510.         ES:BX -> screen line (character and attribute pairs)
  9511.         CX = length of line in bytes, 0000h if no more lines or
  9512.               unsupported video mode
  9513.         01h unsupported video mode active
  9514.         02h screen currently scrolled back
  9515.         03h reduced capability driver
  9516.         A8h unsupported function (driver before v3.10)
  9517. SeeAlso: AX=1A00h/BX=414Eh,AX=1AA9h
  9518. --------V-2F1AA9-----------------------------
  9519. INT 2F - ANSIPLUS v3.10+ - GET ANSIPLUS SCROLLBACK INFORMATION
  9520.     AX = 1AA9h
  9521. Return: AL = status
  9522.         00h successful
  9523.         BX = current number of lines in scrollback buffer
  9524.         CX = number of bytes in one line
  9525.         01h unsupported video mode active
  9526.         02h screen currently scrolled back
  9527.         03h reduced capability driver
  9528.         A9h unsupported function (driver before v3.10)
  9529. Desc:    determine how much data is in the scrollback buffer and initialize
  9530.       scrollback retrieval to return the first line on the next call to
  9531.       AX=1AA8h
  9532. SeeAlso: AX=1A00h/BX=414Eh,AX=1AA8h
  9533. --------V-2F1AAA-----------------------------
  9534. INT 2F - ANSIPLUS v3.01+ - GET/SET ANSIPLUS SCREEN SAVER BLANKING TIME
  9535.     AX = 1AAAh
  9536.     BX = function
  9537.         FFFFh to get current blanking time
  9538.         other to set time
  9539.         CX = blanking time in clock ticks (0000h-7FFFh)
  9540. Return: BX = current blanking time
  9541.     CX = blanking time when last set
  9542. SeeAlso: AX=1A00h/BX=414Eh,AX=1AABh
  9543. --------V-2F1AAB-----------------------------
  9544. INT 2F - ANSIPLUS v3.01+ - SET ANSIPLUS KEY REPEAT RATE
  9545.     AX = 1AABh
  9546.     BX = repeat rate in characters per second
  9547.         0000h use BIOS repeat rate
  9548. Return: nothing
  9549. SeeAlso: AX=1A00h/BX=414Eh,AX=1AAAh,AX=1AACh
  9550. --------V-2F1AAC-----------------------------
  9551. INT 2F - ANSIPLUS v3.00+ - LOAD CHARACTER GENERATOR
  9552.     AX = 1AACh
  9553.     BH = number of bytes per character pattern
  9554.     BL = VGA/EGA character table to be loaded
  9555.     CX = number of characters to load
  9556.     DX = starting character code (offset into Map2 block)
  9557.     ES:BP -> user character table to be loaded
  9558. Return: AX = 1100h
  9559. Desc:    load the EGA/VGA character generator without the BIOS function's
  9560.       side effects of resetting the video mode and color palette
  9561. SeeAlso: AX=1A00h/BX=414Eh,AX=1AABh,AX=1AADh"ANSIPLUS",INT 10/AX=1100h
  9562. --------V-2F1AAD-----------------------------
  9563. INT 2F - ANSIPLUS v2.00+ - ANSIPLUS DEVICE STATUS REPORT
  9564.     AX = 1AADh
  9565.     BL = report request code (81h-96h for v4.00)
  9566.     CX = color selector or key code, if required by request
  9567. Return: AX = first reported result
  9568.     BX = second result
  9569.     CX = third result, if applicable (unchanged otherwise)
  9570.     DX = fourth result, if applicable (unchanged otherwise)
  9571. Desc:    get device status reports equivalent to those for Esc [#n sequences
  9572.       while bypassing any device redirection and avoiding the need to
  9573.       parse the returned result
  9574. Note:    the report request code in BL is identical to the number in the
  9575.       corresponding Esc [#n sequence
  9576. SeeAlso: AX=1A00h/BX=414Eh,AX=1AACh
  9577. --------V-2F1AADDX0000-----------------------
  9578. INT 2F U - AVATAR.SYS v0.11 - ???
  9579.     AX = 1AADh
  9580.     DX = 0000h
  9581.     CX = subfunction (00h-0Ch)
  9582.     ???
  9583. Return: AX = 0000h if DX was nonzero
  9584.     ???
  9585. SeeAlso: AX=1A00h/BX=4156h,AX=1A72h
  9586. --------m-2F1B00-----------------------------
  9587. INT 2F U - DOS 4+ XMA2EMS.SYS extension internal - INSTALLATION CHECK
  9588.     AX = 1B00h
  9589. Return: AL = FFh if installed
  9590. Note:    XMA2EMS.SYS extension is only installed if DOS has page frames to hide.
  9591.     This extension hooks onto INT 67/AH=58h and returns from that call data
  9592.       which excludes the physical pages being used by DOS.
  9593. SeeAlso: AH=1Bh"FRAME INFO"
  9594. --------m-2F1B-------------------------------
  9595. INT 2F U - DOS 4+ XMA2EMS.SYS extension internal - GET HIDDEN FRAME INFORMATION
  9596.     AH = 1Bh
  9597.     AL <> 00h
  9598.     DI = hidden physical page number
  9599. Return: AX = FFFFh if failed (no such hidden page)
  9600.     AX = 0000h if OK, then
  9601.         ES = segment of page frame
  9602.         DI = physical page number
  9603. Notes:    this corresponds to the data edited out of the INT 67/AH=58h call
  9604.     FASTOPEN makes this call with AL = FFh
  9605. SeeAlso: AX=1B00h
  9606. --------V-2F2300-----------------------------
  9607. INT 2F - DR DOS 5.0 GRAFTABL - INSTALLATION CHECK
  9608.     AX = 2300h
  9609. Return: AH = FFh
  9610. Note:    this installation check does not follow the usual format
  9611. SeeAlso: AH=23h,AX=2E00h
  9612. --------V-2F23-------------------------------
  9613. INT 2F - DR DOS 5.0 GRAFTABL - GET GRAPHICS DATA
  9614.     AH = 23h
  9615.     AL nonzero
  9616. Return: AH = FFh
  9617.     ES:BX -> graphics data (8 bytes for each character from 80h to FFh)
  9618. SeeAlso: AX=2300h,AX=2E00h
  9619. --------!---Section--------------------------
  9620.